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

[mesh manipulation] Using mapFields to Interpolate Between Two Identical Meshes With Different Boundaries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2023, 11:43
Default Using mapFields to Interpolate Between Two Identical Meshes With Different Boundaries
  #1
New Member
 
Josh
Join Date: Nov 2022
Location: Scotland
Posts: 6
Rep Power: 4
joshc is on a distinguished road
Dear All,

I was previously working with a blockMesh file which grouped the north and south walls of a 2D planar mesh together as they all had the no-slip boundary condition. I need to split these boundaries up now so that the north walls have their own label and the south wall their own label.

After splitting up the boundaries in the blockMeshDict file, I'd like to run some cases which have already converged on my new mesh. There is nothing different about the new mesh except that the north and south boundaries are labelled differently, which does not affect the flow in any way. So, I have been using the mapFields function to carry a solution from the old mesh to the new mesh (it doesn't interpolate anything in this case as the two meshes are identical, only the boundary arrangement is different now). However, when I run the solver I notice that the residuals start quite high and drop, despite the fact that the solution was fully converged on the old domain.

So, how can I use the mapFieldDict to ensure that the solution is carried over perfectly without changing the solution when I map it from the old mesh to the new mesh?

Thanks,
Josh
joshc is offline   Reply With Quote

Old   October 17, 2023, 23:55
Default
  #2
Senior Member
 
ztdep's Avatar
 
p ding
Join Date: Mar 2009
Posts: 427
Rep Power: 19
ztdep is on a distinguished road
Send a message via Yahoo to ztdep Send a message via Skype™ to ztdep
Quote:
Originally Posted by joshc View Post
Dear All,

I was previously working with a blockMesh file which grouped the north and south walls of a 2D planar mesh together as they all had the no-slip boundary condition. I need to split these boundaries up now so that the north walls have their own label and the south wall their own label.

After splitting up the boundaries in the blockMeshDict file, I'd like to run some cases which have already converged on my new mesh. There is nothing different about the new mesh except that the north and south boundaries are labelled differently, which does not affect the flow in any way. So, I have been using the mapFields function to carry a solution from the old mesh to the new mesh (it doesn't interpolate anything in this case as the two meshes are identical, only the boundary arrangement is different now). However, when I run the solver I notice that the residuals start quite high and drop, despite the fact that the solution was fully converged on the old domain.

So, how can I use the mapFieldDict to ensure that the solution is carried over perfectly without changing the solution when I map it from the old mesh to the new mesh?

Thanks,
Josh
Hi friends, have you resolved this? I met the same problem during the channel flow problem.
ztdep is offline   Reply With Quote

Reply


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 17:29
[ANSYS Meshing] Identical meshes in symmetric bodies in multibody part. aarvay ANSYS Meshing & Geometry 2 May 11, 2012 12:15
Do Merged Patch Pairs require identical (conformal) meshes? delic OpenFOAM 1 April 19, 2010 09:05
mapFields between inconsistent meshes nikwin OpenFOAM Pre-Processing 7 July 30, 2009 05:35
Boundaries swapt with sliding meshes guido_adriaensen OpenFOAM Running, Solving & CFD 0 January 31, 2006 03:55


All times are GMT -4. The time now is 02:55.