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

Asking how to properly use the mapFields Field mapping command in openfoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 12, 2022, 04:19
Default Asking how to properly use the mapFields Field mapping command in openfoam
  #1
New Member
 
gaoxiang
Join Date: Oct 2022
Posts: 1
Rep Power: 0
gaoxiang_99 is on a distinguished road
Hello! I want to map the results of a uniform grid onto a locally encrypted grid, but the following problem always arises when I map.So I want to ask how to correctly map from a uniform mesh to a locally dense mesh?
Quote:
Source time: 24000
Target time: 24000

Create meshes

Source mesh size: 431200 Target mesh size: 1368752


Consistently creating and mapping fields for time 24000

Creating mesh-to-mesh addressing for region0 and region0 regions using direct
Overlap volume: 4.93144e+09
Creating AMI between source patch lower and target patch lower using directAMI
AMI: Creating addressing and weights between 9800 source faces and 30656 target faces
AMI: 1236 non-overlap faces identified
AMI: Patch source sum(weights) min/max/average = 1, 1, 1
AMI: Patch target sum(weights) min/max/average = 1, 1, 1
Creating AMI between source patch upper and target patch upper using directAMI
AMI: Creating addressing and weights between 9800 source faces and 9800 target faces
AMI: Patch source sum(weights) min/max/average = 1, 1, 1
AMI: Patch target sum(weights) min/max/average = 1, 1, 1
interpolating T
The computational domain and boundary conditions of my two sets of meshes are the same: dx=23 for uniform meshes and dx=23-11.5-5.75 for local encrypted meshes. The encrypted region is located in the center of the computational domain. The command I used and the mapFields file looks like this:
Quote:
mapFields /home/gx/OpenFOAM/gx-2.4.x/ABL-neature-huiyi-z0.05-dx24-12-6-new-1 -consistent -mapMethod mapNearest
Quote:
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object mapFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

patchMap ();

cuttingPatches ( );
gaoxiang_99 is offline   Reply With Quote

Reply

Tags
mapfields, openfoam


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
Interface Creation Problem with chtMultiRegionSimpleFoam AC CFD OpenFOAM Running, Solving & CFD 2 November 14, 2022 02:33
Phase Field modeling in OpenFOAM adona058 OpenFOAM Running, Solving & CFD 35 November 16, 2021 00:16
Is it possible to use MapFields while keeping original target field blttkgl OpenFOAM Pre-Processing 0 January 15, 2018 01:40
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 23:35.