CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   mapFieldsDict expert wanted! (https://www.cfd-online.com/Forums/openfoam-pre-processing/140883-mapfieldsdict-expert-wanted.html)

NickG August 25, 2014 12:57

mapFieldsDict expert wanted!
 
Hi

I have a simple aerofoil case where I want to split the foil into upper and lower so that I can play with the wall roughness on each side.
How do I set up mapFieldsDict to run from a stable solution where the foil is one patch, into one where the foil is now split in two patches?

i.e. What do I put in patchMap or cuttingPatches?

Thanks

Nick

Bernhard August 26, 2014 01:53

Did you try to run mapFields without the -consistent flag?

And maybe in the mapFieldsDict you need to put
Code:

patchMap
(
    upperFoil foil
    lowerFoil  foil
);

I don't think you need cuttingPatches, as it look like your domain did not change.

NickG August 26, 2014 06:50

Thanks Bernhard

I'll try that. I didn't use -consistent but had other options flagged. I think I'm ok with mapFields except for the ..Dict part...

Nick


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