|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 6 ![]() |
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 Thanks |
|
|
|
|
|
|
|
|
#2 |
|
Member
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 6 ![]() |
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. |
|
|
|
|
|
![]() |
| Tags |
| fsi mapping, mapfields |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |