CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   set fields with axi-symetrical mesh (http://www.cfd-online.com/Forums/openfoam/125074-set-fields-axi-symetrical-mesh.html)

ankit171032 October 18, 2013 06:37

set fields with axi-symetrical mesh
 
How to set the value of a scalar or a vector field in axi-symetrical mesh? Do we have to use swak4Foam(funkySetFields) or we can use setfieldsdict ?

I have converted 3d mesh generated by OpenFoam to Wedge mesh(because my problem is asymmetric ).Now I want to deposit energy in a particular domain only.How can we do that ?Do we have to create "e" file in 0 folder and then use setfieldsdict to set value of e in a particular domain.

gschaider October 28, 2013 20:03

Quote:

Originally Posted by ankit171032 (Post 457620)
How to set the value of a scalar or a vector field in axi-symetrical mesh?

The same way you'd do it for a regular mesh. Really. OpenFOAM-utilities don't care what mesh it is (because the difference is only in the boundary conditions anyway)

Quote:

Originally Posted by ankit171032 (Post 457620)
Do we have to use swak4Foam(funkySetFields) or we can use setfieldsdict ?

I have converted 3d mesh generated by OpenFoam to Wedge mesh(because my problem is asymmetric ).Now I want to deposit energy in a particular domain only.How can we do that ?Do we have to create "e" file in 0 folder and then use setfieldsdict to set value of e in a particular domain.

Yep


All times are GMT -4. The time now is 09:07.