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

CreateBaffles on open/closed models

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2018, 05:38
Default CreateBaffles on open/closed models
  #1
Member
 
Wouter
Join Date: Aug 2013
Posts: 41
Rep Power: 13
wouterremmerie is on a distinguished road
Hello all,

we've been experimenting with open models (in OpenFOAM 5.0):
stl files that have holes in them, allowing the flow to enter inside.
The surfaces then see fluid on both sides. In OpenFOAM, you can use createBaffles to make sure they are seen as a well. Works very well.


We apply this to many models, and sometimes, also to models that are actually closed. Normally, on a closed model, there is mesh on the inside which is cut away during the snappyHexMesh process. But when createBaffles is called on closed models (from within snappy), it will create walls out of the object with fluid on both sides. So there is fluid on the inside (trapped, in case of a closed model), which is not cut away during snappy. This causes problems for the calculation as well as visualization later on (if it converges).

We've tried running createBaffles using the standalone utility as well (which would solve the problem, as the inside of the mesh is then already cut away), after the complete mesh has been created. But this tends to be unstable, giving us errors which we cannot explain (we can't decypher the errors).

Possible solutions:
- get snappy to "detect" when a model is fully closed, so createBaffles is not run on them --> definition of a closed model (in general, also beyond OpenFOAM) is quite tricky!
- run createBaffles after snappy has finished --> this would be perfect. --> how do we get it stable, what is causing our errors? Any good reading material on this?
- ...?

All advice appreciated, thanks a lot!

Regards,

Wouter.
wouterremmerie is offline   Reply With Quote

Old   June 18, 2018, 06:38
Default
  #2
New Member
 
Joćo Duarte Miranda
Join Date: Jan 2012
Posts: 13
Rep Power: 14
JoaoDMiranda is on a distinguished road
Also interested into this.
Have similar problems. Any help would be most welcome.

Thanks
JoaoDMiranda 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
Worse accuracy in LES models than in RANS models dferrando OpenFOAM Running, Solving & CFD 0 August 30, 2017 05:56
Eddy Viscosity Models and Reynolds Stress Models JuPa CFX 1 August 20, 2013 19:56
Eddy viscosity hypothesis versus Reynolds stress models JuPa ANSYS 0 August 12, 2013 07:20
Incompressible Turbulence models achinta OpenFOAM 4 May 27, 2010 11:35
Two-fluid models vs mixture models for bubbly flows Hansong Tang Main CFD Forum 6 December 8, 2009 04:21


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