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

Moving mesh simulation with mesh changes inside the solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2022, 05:07
Default Moving mesh simulation with mesh changes inside the solver
  #1
New Member
 
Clemens Goessnitzer
Join Date: Nov 2021
Posts: 6
Rep Power: 4
cgoessni is on a distinguished road
I currently run a moving mesh case with multiple meshes, i.e. I run simulation A from time 0 to time t_A, then I map the results from simulation A, t_A onto a new mesh, same geometry, but different number of cells, and run the simulation B from time t_A until t_B, then I again map onto a new mesh and so on:


Code:
Simulation A, mesh A
    runs from t_0 to t_A
Simulation B, mesh B
    maps results Simulation A to mesh B (time t_A)
    runs from t_A to t_B
Simulation C, mesh C
.
.
.

The reason for this procedure is that I have high deformations of my mesh, and I could not run the whole simulation using just one mesh.


Does anybody know if there is a possibility of doing this mesh exchange inside a solver? I guess I would need a topology changer? Has anybody done such a project and could be so friendly and share his insight?

Thanks!
cgoessni is offline   Reply With Quote

Old   January 23, 2022, 16:03
Wink mapFields
  #2
New Member
 
Jalvathi
Join Date: Apr 2019
Posts: 7
Rep Power: 7
jalvathi is on a distinguished road
Quote:
Originally Posted by cgoessni View Post
I currently run a moving mesh case with multiple meshes, i.e. I run simulation A from time 0 to time t_A, then I map the results from simulation A, t_A onto a new mesh, same geometry, but different number of cells, and run the simulation B from time t_A until t_B, then I again map onto a new mesh and so on:


Code:
Simulation A, mesh A
    runs from t_0 to t_A
Simulation B, mesh B
    maps results Simulation A to mesh B (time t_A)
    runs from t_A to t_B
Simulation C, mesh C
.
.
.

The reason for this procedure is that I have high deformations of my mesh, and I could not run the whole simulation using just one mesh.


Does anybody know if there is a possibility of doing this mesh exchange inside a solver? I guess I would need a topology changer? Has anybody done such a project and could be so friendly and share his insight?

Thanks!
Hello cgoessni,

I think, you can use the mapFields option to map the results from one result/mesh to a different mesh. Please check the link here which shows how to map one results to a new mesh setup.

I hope, this helps.

Regards,
Jalvathi
jalvathi is offline   Reply With Quote

Old   January 24, 2022, 09:14
Default
  #3
New Member
 
Clemens Goessnitzer
Join Date: Nov 2021
Posts: 6
Rep Power: 4
cgoessni is on a distinguished road
Hi!


Thank you for your reply, but I already use mapFields in my workflow. However, this procedure takes a lot of time compared to the actual CFD solver part, so I thought that putting the mesh-to-mesh part inside the actual CFD solver would speed things up.


Thanks.
cgoessni 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
Error SIGSEGV using VOF and UDF JERC_UTFSM Fluent UDF and Scheme Programming 14 November 7, 2021 23:17
Moving Mesh simulation ccs1021 OpenFOAM Running, Solving & CFD 2 January 18, 2021 09:50
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[ANSYS Meshing] Meshing Strategy for inside geometry powpow ANSYS Meshing & Geometry 6 January 16, 2013 04:32
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


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