|
[Sponsors] |
March 25, 2024, 17:00 |
How can I use MapFields for this geometry?
|
#1 |
New Member
Mahdi
Join Date: May 2016
Posts: 22
Rep Power: 9 |
Dear all,
I am using mapFields for the first time to map the flow field from a coarser mesh to a finer one. The geometry is attached here. The boundary names and boundary conditions are the same between two meshes and the geometry of course. When I am using the syntaxes, I have found so far, it gives me several errors, for example, it creates 'nan' values and then exit for such error. Can anyone guid me through this please? I have cyclicAMI at inlet and outlet, and other boundary names and conditions are shown in the figure. I am using this as mapfieldsdict. Shoud I use any field for patchMapMethod for example since I have cyclicAMI? or what should I use for patchMap? Thank you so much, Mahdi. FoamFile { version 2.0; format ascii; class dictionary; object mapFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // mapFields1 { // Mandatory entries (unmodifiable) type mapFields; libs (fieldFunctionObjects); // Mandatory (inherited) entries (runtime modifiable) // fields (<field1> <field2> ... <fieldN>); mapRegion region0; mapMethod cellVolumeWeight; consistent true; // Optional entries (runtime modifiable) // patchMapMethod direct; // AMI-related entry // enabled if consistent=false // patchMap (<patchSrc> <patchTgt>); // cuttingPatches (<patchTgt1> <patchTgt2> ... <patchTgtN>); patchMap () cuttingPatches () // Optional (inherited) entries region region0; enabled true; log true; timeStart latestTime; timeEnd 1000; executeControl timeStep; executeInterval 1; writeControl timeStep; writeInterval 1; } Thank you so much, Mahdi. Last edited by Mahdi_Kh; March 25, 2024 at 17:07. Reason: adding more information |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
One or more objects may have lost some scoping attachments during the geometry update | jaxk | CFX | 1 | October 10, 2023 17:51 |
How do I connect a geometry to my solver | devansh.purohit | Main CFD Forum | 4 | November 16, 2021 08:51 |
Running CFD parallel. There is no geometry file! | CrashLaker | SU2 | 6 | April 10, 2014 03:08 |
[CAD formats] translating geometry from Abaqus to OpenFOAM | skuznet | OpenFOAM Meshing & Mesh Conversion | 3 | January 10, 2014 13:49 |
Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 19:42 |