CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

multi region mapFields for FSI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2022, 06:25
Default multi region mapFields for FSI
  #1
Member
 
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 5
MFWilliams is on a distinguished road
Hello,


I am trying to use the mapFields function on foam-extend 4.0 to map the results of a CFD simulation onto the fluid domain of an FSI simulation.

I have seen some people use the -targetRegion option for mapFields but when I try use that I get the error:
Code:
mapFields -sourceTime 'latestTime' -mapRegion fluid ../finalCfdSim/

Usage: mapFields <source dir> [-DebugSwitches key1=val1,key2=val2,...] [-DimensionedConstants key1=val1,key2=val2,...] [-InfoSwitches key1=val1,key2=val2,...] [-OptimisationSwitches key1=val1,key2=val2,...] [-Tolerances key1=val1,key2=val2,...] [-case dir] [-consistent] [-dumpControlSwitches] [-noFunctionObjects] [-parallelSource] [-parallelTarget] [-sourceTime scalar]  [-help] [-doc] [-srcDoc]



--> FOAM FATAL ERROR:
Wrong number of arguments, expected 1 found 2
Invalid option: -mapRegion
Can anyone help me with mapping one source region to a case with multiple regions please.


Thanks
MFWilliams is offline   Reply With Quote

Old   March 10, 2022, 14:41
Default
  #2
Member
 
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 5
MFWilliams is on a distinguished road
I finally found my answer,


I was using foam extend 4.0 which does not have this functionallity. So I just downloaded a main branch version of openfoam which has this option for mapFields, and initialised that new version of openfoam, used mapFields, then initialised back to foam extend 4.0.
MFWilliams is offline   Reply With Quote

Reply

Tags
fsi mapping, mapfields


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
chtMultiRegionFoam speed up qwertz OpenFOAM Running, Solving & CFD 8 September 18, 2021 07:16
Error when solving p_rgh bob94 OpenFOAM 0 March 17, 2020 09:12
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 10:48
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[snappyHexMesh] Multi Region Meshing bruce OpenFOAM Meshing & Mesh Conversion 12 July 31, 2013 11:09


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