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

Freestream boundary condition confusion - k-epsilon

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2014, 06:13
Default Freestream boundary condition confusion - k-epsilon
  #1
New Member
 
E.B
Join Date: Jul 2014
Posts: 5
Rep Power: 11
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;

outlet
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.

Thanks,

Ed

Edit: the error message that I get now is:
PHP Code:
Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4  
 
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#5  
 
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#6  
 
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#7  
 
in "/opt/openfoam230/platforms/linux64GccDPOpt/bin/simpleFoam"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  
 
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

Reading
/calculating face flux field phi

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

No finite volume options present


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


Starting time loop

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

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

Reply


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 06:16
Radiation interface hinca CFX 15 January 26, 2014 17: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 00:45.