CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Map fields from coarser to finer mesh (

Andrea_85 January 21, 2013 05:48

Map fields from coarser to finer mesh

i have two identical geometries, one with coarser mesh and the other one with a finer mesh. The mesh is structured and the finer case has been constructed using refineMesh utility. I would like to map the initial condition on field "alpha1" (interFoam solver) from the coarser mesh to the finer mesh in order to get exactly the same initial condition for both simulations. Is this possibile?.

ps i used an external software to generate the initial alpha1 field in the coarser case and this software is no longer available for me. The initial condition is not triavial and i cannot reproduce it using setField or funkySetField.



Bernhard January 21, 2013 05:50

What is your question? You know about the mapFields utility?

Andrea_85 January 21, 2013 06:02

Hi, thank for reply

I read something about that on the forum, don't know how to use it.



Andrea_85 January 21, 2013 07:38

Ok, i did not notice that there was an exhaustive paragraph on the user guide about how to use mapField for consistent geometries.
Now i solved it.

thank again


All times are GMT -4. The time now is 05:27.