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

customized sonicFoam for adaptive mesh refinement - how to define mass flow BCs?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 12, 2010, 15:51
Default customized sonicFoam for adaptive mesh refinement - how to define mass flow BCs?
  #1
New Member
 
bill shockley
Join Date: Aug 2010
Posts: 1
Rep Power: 0
shockley is on a distinguished road
Hello foamers,

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.

Any suggestion?
Attached Images
File Type: jpg screenshot.jpg (55.1 KB, 43 views)
shockley is offline   Reply With Quote

Old   December 13, 2010, 05:04
Default
  #2
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 7
nakul is on a distinguished road
Hi,

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.
nakul is offline   Reply With Quote

Reply

Tags
adaptive mesh refinement, sonicfoam, supersonic flow

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
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


All times are GMT -4. The time now is 01:22.