CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

mapFields with multi regions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2013, 18:32
Default mapFields with multi regions
  #1
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 161
Blog Entries: 1
Rep Power: 7
Ahmed Khattab is on a distinguished road
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?
Ahmed Khattab is offline   Reply With Quote

Old   November 8, 2013, 03:57
Default
  #2
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
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
samiam1000 is offline   Reply With Quote

Old   November 8, 2013, 07:23
Default
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 161
Blog Entries: 1
Rep Power: 7
Ahmed Khattab is on a distinguished road
Hi,

do you mean for example
Code:
mapFields -targetRegion heater -targetRegion solid -tergetRegion air
Ahmed Khattab is offline   Reply With Quote

Old   November 8, 2013, 07:44
Default
  #4
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
No, I meant:
Code:
-sourceRegion heater -targetRegion heater
and
Code:
 -sourceRegion solid -targetRegion solid
and
Code:
 -sourceRegion air -targetRegion air
Is that clear, now?
samiam1000 is offline   Reply With Quote

Old   November 8, 2013, 12:14
Default
  #5
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 161
Blog Entries: 1
Rep Power: 7
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by samiam1000 View Post
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.
Ahmed Khattab is offline   Reply With Quote

Old   November 8, 2013, 12:19
Default
  #6
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 490
Rep Power: 9
samiam1000 is on a distinguished road
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!
samiam1000 is offline   Reply With Quote

Old   September 7, 2014, 04:16
Default
  #7
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 233
Rep Power: 7
Mojtaba.a is on a distinguished road
Send a message via Yahoo to Mojtaba.a
Quote:
Originally Posted by Ahmed Khattab View Post
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 !?
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with mapFields BlackBoatNavArch OpenFOAM Pre-Processing 31 March 31, 2015 11:37
multiple regions Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 47 September 9, 2014 09:36
Using mapFields if the mesh has different regions stevenvanharen OpenFOAM Pre-Processing 8 November 8, 2013 04:00
Multi region meshing & recovering the original patch names fluidpath OpenFOAM Native Meshers: snappyHexMesh and Others 4 May 19, 2013 19:13
Multi Stl snappyHexMesh kalyangoparaju OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 15, 2012 10:16


All times are GMT -4. The time now is 21:53.