No subject


Tue Aug 6 13:31:21 EDT 2013


t I don&#39;t know how to set up the cell commands for that.</div>
<div><br></div><div>Here are the lines of my code that write the .vts files=
:</div><div><br></div><div><br></div><div><div><font face=3D"courier new, m=
onospace" size=3D"1">=A0 =A0 =A0 =A0 write(113,*) &#39;# vtk DataFile Versi=
on 3.0&#39; =A0=A0</font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 write=
(113,*) &#39;This is the cartesian velocity field&#39;</font></div><div><fo=
nt face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 write(113,*) =
&#39;ASCII&#39;</font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 write=
(113,*) &#39;DATASET STRUCTURED_GRID&#39; =A0</font></div><div><font face=
=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 write(113,*) &#39;DI=
MENSIONS&#39;,nx,ny,nz</font></div>
</div><div><font face=3D"courier new, monospace" size=3D"1"><br></font></di=
v><div><div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =
=A0 do k =3D 1, nphi + 1 =A0</font></div><div><font face=3D"courier new, mo=
nospace" size=3D"1">=A0 =A0 =A0 =A0 do j =3D 1, nth =A0+ 2=A0</font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 do i =
=3D 1, nr=A0</font></div><div><font face=3D"courier new, monospace" size=3D=
"1">=A0 =A0 =A0 =A0 write(113,*) xc(i,j,k), yc(i,j,k), zc(i,j,k)=A0</font><=
/div><div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 =
enddo=A0</font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 enddo=
=A0</font></div><div><font face=3D"courier new, monospace" size=3D"1">=A0 =
=A0 =A0 =A0 enddo</font></div></div><div><font face=3D"courier new, monospa=
ce" size=3D"1"><br></font></div>
<div><div><font face=3D"courier new, monospace" size=3D"1"><span class=3D""=
 style=3D"white-space:pre">	</span>write(113,*) &#39;POINT_DATA&#39;,nx</fo=
nt></div><div><font face=3D"courier new, monospace" size=3D"1"><span class=
=3D"" style=3D"white-space:pre">	</span>write(113,*) &#39;VECTORS velocityf=
ield float&#39;</font></div>
<div><font face=3D"courier new, monospace" size=3D"1"><span class=3D"" styl=
e=3D"white-space:pre">	</span>write(113,*) &#39;LOOKUP_TABLE default&#39;</=
font></div></div><div><font face=3D"courier new, monospace" size=3D"1"><br>=
</font></div>
<div><div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 =
do k =3D 1, nphi + 1 =A0</font></div><div><font face=3D"courier new, monosp=
ace" size=3D"1">=A0 =A0 =A0 =A0 do j =3D 1, nth =A0+ 2=A0</font></div><div>=
<font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 do i =3D 1=
, nr=A0</font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 write=
(113,*) ux(i,j,k), uy(i,j,k), uz(i,j,k)=A0</font></div><div><font face=3D"c=
ourier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 enddo=A0</font></div><div=
><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 enddo=A0<=
/font></div>
<div><font face=3D"courier new, monospace" size=3D"1">=A0 =A0 =A0 =A0 enddo=
</font></div></div><div><font face=3D"courier new, monospace" size=3D"1"><b=
r></font></div><div><font face=3D"arial, helvetica, sans-serif">Could anyon=
e let me know how I should modify this for an unstructured grid?</font></di=
v>
<div><br></div><div>Thanks</div><div>George</div><div><br></div></div>

--089e0163491ee78bc204e3662427--


More information about the ParaView mailing list