CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

what is the best strategy for dynamic mesh ?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By al_th

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2015, 04:53
Question what is the best strategy for dynamic mesh ?
  #1
New Member
 
logan
Join Date: Feb 2012
Posts: 10
Rep Power: 14
wolverine is on a distinguished road
i have been trying to create a mesh for dynamic boundary . like an oscillating wall . i always encounter negative volume error .
wolverine is offline   Reply With Quote

Old   June 5, 2015, 07:30
Default
  #2
New Member
 
Al_th
Join Date: Apr 2015
Posts: 19
Rep Power: 11
al_th is on a distinguished road
Hi wolverine,

I guess the final solution will be dependant of what are the tools that you use, but I have worked on a similar problem (Oscillating wall).

I am using Salome to mesh my geometry
I am using Openfoam to solve both mesh motion and flow equations
Within Openfoam, I am using pimpleDyMFoam application with dynamicMotionSolverFVMesh

The problem I encountered that when the motion of the wall was too big, some of the cells of the mesh collapsed.

I found that there is some motion solver that are able to resolve topological changes (typically when a cell collapses, you have a change in the topology of your mesh), but in my case I had a lot of errors.

The solution I have found is the following :

- Define a python script to do the geometry and the meshing (Salome accepts python scripts)
- Initialise position of the wall
- Start the simulation until it crashes (the only reason my simulations crashes are because of cells that are either collapsing or extending too much).
- Look at the last position of the wall
- Remesh with the current wall position
- Map the result of your previous mesh to your new mesh.
- Restart simulation at the last timestep with the new mesh.

Everything is scripted in bash, and this is a little bit tiresome, but it works quite well at the end, and it is doing what was expected !
wolverine and scleakey like this.
al_th 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
engrid -> save as .stl with boundarie codes Zymon enGrid 31 August 29, 2011 13:40


All times are GMT -4. The time now is 05:38.