![]() |
Using mapFields if the mesh has different regions
Dear all,
I would like to use mapFields to map the velocity field form a simulation containing only one region to a simulation containing multiple regions. Is this possible? Does somebody know how to do it? On of the regions in the targer folder is the same size as the region in the source folder. Any help will be appreciated. Kind regards, Steven |
Fixed it myself, turned out it was not to hard :D
If anyone needs it let me know. |
I would like to hear your solution. I'm mapping from mesh with two region onto a mesh with similar regions, but nothing seems to work.
Lauri |
1 Attachment(s)
Just take a look at this source code.
I added the -region option to the utility and changed: Code:
fvMesh meshTargetCode:
fvMesh meshTarget |
Thank you for the quick reply. Your solution works perfectly.
I added the region-thing also for the source, although now they have to have same names. |
| All times are GMT -4. The time now is 03:15. |