CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   mapFields with multi regions (http://www.cfd-online.com/Forums/openfoam-pre-processing/126041-mapfields-multi-regions.html)

Ahmed Khattab November 6, 2013 18:32

mapFields with multi regions
 
Dear All,

i want to use mapFields with multi Region target. i use openfoam2.1.0, which offers this option (-TargetRegion) for one region only.

can anyone help me?

samiam1000 November 8, 2013 03:57

I had the same problem and I solved using the option
Code:

-sourceRegion region_n -targetRegion region_n
as many times as my region were.

It works

Ahmed Khattab November 8, 2013 07:23

Hi,

do you mean for example
Code:

mapFields -targetRegion heater -targetRegion solid -tergetRegion air

samiam1000 November 8, 2013 07:44

No, I meant:
Code:

-sourceRegion heater -targetRegion heater
and
Code:

-sourceRegion solid -targetRegion solid
and
Code:

-sourceRegion air -targetRegion air
Is that clear, now?

Ahmed Khattab November 8, 2013 12:14

Quote:

Originally Posted by samiam1000 (Post 461176)
No, I meant:
Code:

-sourceRegion heater -targetRegion heater
and
Code:

-sourceRegion solid -targetRegion solid
and
Code:

-sourceRegion air -targetRegion air
Is that clear, now?


Hi,

i tried it but it didn't work with me. beside, i have one region in my source and multiregions in my target.

thanks for your effort.

samiam1000 November 8, 2013 12:19

If you have one single region in the source and you want a multiregion in the target, I suggest you to create cellZones in the source, as well. Then you can map them, I think!

Mojtaba.a September 7, 2014 04:16

Quote:

Originally Posted by Ahmed Khattab (Post 461223)
Hi,

i tried it but it didn't work with me. beside, i have one region in my source and multiregions in my target.

thanks for your effort.

Dear Ahmed, have you been able to solve this problem?

I want to map source case with one region into target case with multiple regions and I have problem doing that. Did you find any solution !?


All times are GMT -4. The time now is 12:26.