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

Simple question on dynamic meshes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2019, 11:51
Default Simple question on dynamic meshes
  #1
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
I presume most users of this forum know that Foam allows modifications to the mesh topology when the relative position of solids changes ( e.g. rotating devices like fans, compressors)

But what about altering it depending on the current numerical solution in a domain ? For example, if a solution gradient is greater than a given threshold at a given cell, it would be nice if one could refine the mesh around that cell. And make it coarser when the solution gradient will later be less than the given threshold.

Best, Marc
celestial is offline   Reply With Quote

Old   April 3, 2019, 08:26
Default
  #2
New Member
 
Marius Bünker
Join Date: Oct 2017
Posts: 13
Rep Power: 8
Blumenkind is on a distinguished road
It can be pretty easily done using the Mesh Refinement from dynamicFvMesh. Check out the DamBreakWithObstacle tutorial...
Blumenkind is offline   Reply With Quote

Old   April 4, 2019, 10:43
Default
  #3
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
I checked that the source code for the dam break tutorial indeed includes refinement. I don't understand it enough yet to figure out if it can be adapted to some arbitrary threshold on a solution gradient as in my example, but it's a start. Thanks for the info, Marius.
celestial 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
Dynamic Meshing of Simple 2D Geometry harman79 FLUENT 2 January 17, 2018 06:07
Dynamic Meshes Arturo FLUENT 2 May 13, 2008 06:23
question about dynamic meshes zhhwoo FLUENT 0 August 2, 2006 22:36
Dynamic Meshes with Mixture Model cfdtoy FLUENT 3 April 13, 2004 21:16
Dynamic Meshes Cfdtoy FLUENT 2 February 6, 2004 12:14


All times are GMT -4. The time now is 13:56.