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

help: rhoPisoFoam to compressibleInterFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2010, 13:45
Default help: rhoPisoFoam to compressibleInterFoam
  #1
New Member
 
Jason Ryon
Join Date: Oct 2009
Posts: 17
Rep Power: 16
jason.ryon is on a distinguished road
I am looking for help changing my case from an air-only (rhoPisoFoam) to air+fuel (compressibleInterFoam).

Could you please tell me what needs to be changed to add the second case? Here's what I have tried so far - but I am having problems (it blows up or gives wrong velocities by an order of magnitude, etc...)

A little background, I want to run a pressure inlet for air, a mass flow inlet for fuel, and a pressure outlet which is just atmospheric pressure. For my air-only run it works fine (rhoPisoFoam) with just a wall for the fuel inlet. Then when I want to turn on the fuel, I tried:

1. added a 0/alpha1 which is zeroGradient for all walls, fixedValue with a uniform 0 for air_inlet, 1 for fuel_inlet, and inletOutlet (value of zero) for the pressure_outlet

2. 0/p to have fuel_inlet zeroGradient

3. 0/U has fuel_inlet as "type flowRateInletVelocity; flowRate = 0.002; value uniform (0 0 0);

4. Changed my polyMesh/boundaries from my fuel_inlet which was a wall to a patch

5. added in a constant/transportProperties similar to the compressibleInterFoam/les/depthCharge3D/ case except changed:
phase1:
nu = my viscosity of fuel
rho = 775; //my density of fuel
rho0 = 0; //is this how i set it to be incompressible liquid??
(I left phase2 - I'm assuming this is the air phase)

6. My controlDict is basically the same as the compressibleInterFoam depthCharge3D case as well.

Any thoughts or suggestions? I'm very new to this, so any help is definitely appreciated!

Jason
jason.ryon is offline   Reply With Quote

Reply

Tags
compressibleinterfoam, rhopisofoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
error on using rhoPisoFoam Barty OpenFOAM Running, Solving & CFD 2 February 16, 2011 09:19
RhoPisoFoam Boundary Condition sahm OpenFOAM 0 February 12, 2010 23:25
rhoPisoFoam with radiation braennstroem OpenFOAM Programming & Development 4 October 23, 2009 12:01
rhoSimpleFoam & rhoPisoFoam ronaldo OpenFOAM 2 October 7, 2009 08:15


All times are GMT -4. The time now is 11:46.