|December 12, 2010, 15:51||
customized sonicFoam for adaptive mesh refinement - how to define mass flow BCs?
Join Date: Aug 2010
Posts: 1Rep Power: 0
I tried a few simulations with sonicFoam, and wondered if I could get adapted mesh near shock waves to highlight them.
So, looking around in the code, I managed to write a customized version of sonicFoam which uses dinamicFvMesh.
Now I am getting interesting results on a mesh of a model jet aircraft, generated from snappyHexMesh, and driving refinement via pressure gradient.
I would like to define BCs for the airframe jet engine intakes and exhausts, such as a mass flow constraint or the like.
|December 13, 2010, 05:04||
Join Date: Apr 2010
Posts: 147Rep Power: 8
I think that a field called phi which is analogous to mass flux is already defined in sonicFoam's code.
You may change its settings to make OF prompt for mentioning its BC and IC conditions in "0" directory. For eg you may mention its declaration AUTO::WRITE and AUTO::READ. You may also have to make some extra changes to comply with the boundary conditions adjustments.
I have never tried this before. But you may give it a try and tell back what did you get.
|adaptive mesh refinement, sonicfoam, supersonic flow|
|Thread||Thread Starter||Forum||Replies||Last Post|
|SnappyHexMesh for internal Flow||vishwa||OpenFOAM Native Meshers: snappyHexMesh and Others||24||June 27, 2016 08:54|
|2 Inlet Pres BC's and Out Mass Flow - Convergence||SN||CD-adapco||0||July 19, 2006 09:12|
|How to control Minximum mesh space?||hung||FLUENT||7||April 18, 2005 09:38|
|Problem on boundry of two phase flow||youngan||CFX||0||June 30, 2003 02:32|
|fluid flow fundas||ram||Main CFD Forum||5||June 17, 2000 21:31|