CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Freestream boundary condition confusion - k-epsilon

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

LinkBack Thread Tools Display Modes
Old   July 11, 2014, 06:13
Default Freestream boundary condition confusion - k-epsilon
New Member
Join Date: Jul 2014
Posts: 5
Rep Power: 5
Jalued is on a distinguished road
Hi all,

I have only been working with OpenFoam for the past few days but have worked with FLUENT before. The simulation is of 2D water flow past three pillars in a freestream with an absolute pressure of 50.27bar

I am confused what free stream boundary conditions I should be using, preferably for use with k-epsilon

My current BC are

inlet (note, internalField is (1 0 0))

U: type fixedValue;
freestreamValue $internalField;

P: type zeroGradient;

k: type fixedValue;
value uniform 18.375;

epsilon: type fixedValue;
value uniform 3.6975;

U: type zeroGradient;

P: type fixedValue;
value $internalField (set as 50.27e5)

k: type zeroGradient;

epsilon: type zeroGradient;

symmetry 1,2,3,4

type symmetryPlane for all

wall 1,2,3

U: type fixedValue;
value uniform (0 0 0);

P: type zeroGradient;

k: type zeroGradient

epsilon: type zeroGradient

I have been trying to adjust tutorials to fit my setup, but so far nothing is working. Please be as brutal and honest as necessary, I'm sure all of this is complete garbage... but I just want to start understanding where I'm going wrong.



Edit: the error message that I get now is:
PHP Code:
Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/"
#1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/"
#2   in "/lib/x86_64-linux-gnu/"
#3  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/"
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/"
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam" 
with no other error messages in the log file:

PHP Code:
Create time

Create mesh 
for time 0

Reading field p

Reading field U

/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kEpsilon
Cmu             0.09;
C1              1.44;
C2              1.92;
C3              -0.33;
sigmak          1;
sigmaEps        1.44;
Prt             1;

No finite volume options present

convergence criteria
    field p     tolerance 0.01
    field U     tolerance 0.001
    field k     tolerance 0.001

Starting time loop

Attached Images
File Type: jpg Screenshot from 2014-07-11 11:08:29.jpg (82.0 KB, 20 views)
File Type: jpg Screenshot from 2014-07-11 11:10:26.jpg (65.5 KB, 12 views)

Last edited by Jalued; July 11, 2014 at 08:45.
Jalued is offline   Reply With Quote


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
Wind turbine simulation Saturn CFX 48 October 25, 2017 06:07
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 06:16
Radiation interface hinca CFX 15 January 26, 2014 18:11
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
External Radiation Boundary Condition (Two sided wall), Grid Interface CFD XUE FLUENT 0 July 8, 2010 06:49

All times are GMT -4. The time now is 07:54.