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

mapFields with multi regions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2013, 17:32
Default mapFields with multi regions
  #1
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
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, 02:57
Default
  #2
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
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, 06:23
Default
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
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, 06:44
Default
  #4
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
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, 11:14
Default
  #5
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
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, 11:19
Default
  #6
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 18
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: Tampa, US
Posts: 308
Rep Power: 15
Mojtaba.a is on a distinguished road
Send a message via Skype™ 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 !?
__________________
Learn OpenFOAM in Persian
SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with mapFields BlackBoatNavArch OpenFOAM Pre-Processing 38 May 28, 2021 16:29
[snappyHexMesh] multiple regions Tobi OpenFOAM Meshing & Mesh Conversion 56 March 29, 2020 04:53
Using mapFields if the mesh has different regions stevenvanharen OpenFOAM Pre-Processing 8 November 8, 2013 03:00
[snappyHexMesh] Multi region meshing & recovering the original patch names fluidpath OpenFOAM Meshing & Mesh Conversion 4 May 19, 2013 19:13
[snappyHexMesh] Multi Stl snappyHexMesh kalyangoparaju OpenFOAM Meshing & Mesh Conversion 2 November 15, 2012 09:16


All times are GMT -4. The time now is 22:30.