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

Boundary conditions - OpenFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2010, 13:01
Default Boundary conditions - OpenFoam
  #1
New Member
 
sankarv
Join Date: Feb 2010
Posts: 26
Rep Power: 16
sankarv is on a distinguished road
I am a new user of OpenFoam and I am trying to set-up an under-expanded supersonic jet issuing into an open atmosphere.
I am using the rhoCentralFoam and it has an example for the a similar jet.
Even though I can just copy the b.c. files (p,T and U) from the tutorial, I would like to better understand the various keywords in these files.

For example,
Jet_inlet
{
type totalPressure;
value uniform 300000.0;
p0 uniform 300000.0;
U U;
phi phi;
rho none;
psi psi;
gamma 1.4;
}
I do not understand all the keywords here. what does p0, phi, and psi stand for ?
I saw another example where all of the above keywords are not used ?
Is there any documentation for what kind of keywords must be specified for what
kind of boundary conditions ? Somebody please help.

Thanks
Vaidya
sankarv is offline   Reply With Quote

Old   February 26, 2010, 05:50
Default Under-expanded jets - Boundary conditions help
  #2
New Member
 
sankarv
Join Date: Feb 2010
Posts: 26
Rep Power: 16
sankarv is on a distinguished road
Hello OpenFoamers

I need some help with the boundary conditions desperately. As I have mentioned in my previous post, I am trying to simulate an under-expanded jet. I have successfully simulated the same problem using Fluent. Now
I am trying to use OpenFoam to compare the two solvers. (BTW,
This is my first ever OpenFoam simulation.....)
I am using rhoCentralFoam. It is a 2D grid I imported from Fluent using fluentMeshtoFoam.

Here is the configuration.
_________________________________
| free-stream |
| |
| wall_inlet |
| |Outflow
| |
! |
! jet_inlet axis |
!-------------------------------------|


Here is my 'p' file
dimensions [1 -1 -2 0 0 0 0];
internalField uniform 10000.0;
boundaryField
{
Jet_inlet
{
type totalPressure;
value uniform 300000.0;
p0 uniform 300000.0;
U U;
phi phi;
rho none;
psi psi;
gamma 1.4;
}
wall_inlet
{
type zeroGradient;
}
axis
{
type zeroGradient;
}
outflow
{
type pressureTransmissive;
value 10000.0
}
top_boundary
{
type pressureTransmissive;
value 10000.0
}
}
// ************************************************** *********************** //

For the outflow and top_boundary (freestream) I have tried wave transmissive, zeroGradient,pressureTransmissive boundary conditions.
But the simulation always crashes when the initial transient shock reaches the outflow.

Here is my 'U' file
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
Jet_inlet
{
type fixedValue;
value uniform (319.2 0 0);
}
wall_inlet
{
type fixedValue;
value uniform (0 0 0);
}
axis
{
type zeroGradient;
}
outflow
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
top_boundary
{
type zeroGradient;
}
}

Here is my 'T' file
{
Jet_inlet
{
type totalTemperature;
value uniform 300;
T0 uniform 300;
U U;
phi phi;
rho none;
psi psi;
gamma 1.4;
}
wall_inlet
{
type zeroGradient;
}
axis
{
type zeroGradient;
}
outflow
{
type zeroGradient;
}
top_boundary
{
type totalTemperature;
value uniform 300;
T0 uniform 300;
U U;
phi phi;
rho none;
psi psi;
gamma 1.4;
}
}

I must admit I am using the boundary conditions by looking at similar files in the rhoCentralFoam. I would sincerely appreciate if someone can
tell me what is wrong with my set-up and also if possible tell me the
meaning of the various keywords in the b.c files 'p','U' and 'T'. I can
make an educated guess about some of them, but I would be more comfortable hearing that from experts out there...


Please help

Thanks
Vaidya
sankarv is offline   Reply With Quote

Old   March 19, 2010, 04:05
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 2
Rep Power: 0
koichi is on a distinguished road
did you find a solution for the definition of psi, phi and U in totalPressure bc?
koichi is offline   Reply With Quote

Old   April 4, 2010, 18:02
Default Creating New solver: for particle laden compressible jets
  #4
New Member
 
sankarv
Join Date: Feb 2010
Posts: 26
Rep Power: 16
sankarv is on a distinguished road
Hello OpenFoamers

I am a new user of OpenFoam and I am trying to set-up a particle-laden
under-expanded supersonic jet issuing into an open atmosphere.
Note, before I started OpenFoam, I ran fluent and got a converged
solution for this problem

Here are details of OpenFoam simulation:
---------------------------------------
Solver: rhoCentralFoam
Grid: axi-symmetric grid imported from Fluent using fluentMeshtoFoam
I.C: I used the converged Fluent solution as initial condition for openFoam
I managed to get a converged steady state solution for this
problem without particles


Particle laden jets:
!----------------------------------
Now I am trying to run a particle-laden jets. Since the solver
rhoCentralFoam does not have Lagrangian Particle Tracking in it, I realized
that I have to create a new solver.
I came across the icoLagrangianFoam solver which is basically a particle
tracking solver for an incompressible flow.

I found a nice tutorial "Tutorial icoLagrangianFoam/SolidParticle" by
Auerlia Vallier
(google for file name: Tutorial_icoLagrangianFoam_reviewed.pdf).
I used that and managed to implement particle tracking
in the rhoCentralFoam solver.
I called this new solver rhoCentralParticleFoam

This works well. But the problem is that the drag model in the original
icoLagrangianFoam is a very simple constant drag model.
I want to implement the standard drag model which is a function of
particle Reynolds number based on the stokesian drag for spherical particles.

Chapter 5 in the tutorial describes how to implement this drag model.
When I did these changes I get compilation errors that I cannot comprehend. I admit that I don't know c++ and I am not able to figure out the exact problem.

Can someone help me to fix these compilation errors ?
I have attached a tar file which contains the codes I am using for
this solver
Attached Files
File Type: gz rhoCentralParticleFoam.tar.gz (15.5 KB, 43 views)
sankarv is offline   Reply With Quote

Old   October 22, 2010, 02:58
Post underexpanded jets
  #5
New Member
 
karthick
Join Date: Oct 2010
Posts: 3
Rep Power: 15
karthick is on a distinguished road
halo mr. sankarv

i am a new user of fluent! from ur post i learnt that u ve successfully simulated underexpanded jets in fluent. presently i am tryng to simulate the same!!! but i don get the results at alll


can u just help me with the same!!!! could u say me wat sort of profile ahs to be put and the necessary boundary conditions to be specified in gambit and the NPR values to be put in the fluent!!!!


i am desperately in nedd of ur help !!!
karthick is offline   Reply With Quote

Old   October 22, 2010, 09:29
Default
  #6
New Member
 
sankarv
Join Date: Feb 2010
Posts: 26
Rep Power: 16
sankarv is on a distinguished road
Karthick

There is a paper by K. Senesh & V.Babu titled Numerical Simulation of Subsonic and supersonic jets, AIAA 2005-3095. In this paper they talk about the models, grids, initial conditions and boundary conditions for fluent. I followed this paper to setup my case in fluent. Please try to look up this paper.



Quote:
Originally Posted by karthick View Post
halo mr. sankarv

i am a new user of fluent! from ur post i learnt that u ve successfully simulated underexpanded jets in fluent. presently i am tryng to simulate the same!!! but i don get the results at alll


can u just help me with the same!!!! could u say me wat sort of profile ahs to be put and the necessary boundary conditions to be specified in gambit and the NPR values to be put in the fluent!!!!


i am desperately in nedd of ur help !!!
sankarv is offline   Reply With Quote

Old   February 14, 2012, 06:18
Default
  #7
New Member
 
edin michael
Join Date: Feb 2012
Posts: 1
Rep Power: 0
edinmichael is on a distinguished road
Hi i am just starting in cfd... and am trying to simulate under-expanded jet using fluent. but my solution is not converging. can you please help me with it.
edinmichael is offline   Reply With Quote

Reply

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
Impinging Jet Boundary Conditions Anindya Main CFD Forum 25 February 27, 2016 12:58
Problems with boundary conditions for a lowRekOmegaSST turbulence model cfdmarkus OpenFOAM Running, Solving & CFD 16 November 14, 2011 04:44
Update boundary conditions calculated by an external program CedricVH OpenFOAM 2 January 15, 2010 11:55
Pressure boundary conditions Lionel S. Main CFD Forum 1 August 24, 2007 18:03
Setting a boundary conditions mer OpenFOAM Running, Solving & CFD 1 November 24, 2005 13:53


All times are GMT -4. The time now is 19:05.