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

Error caused by defining a Ramp BC for a parameter

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jherb

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 01:14
Default Error caused by defining a Ramp BC for a parameter
  #1
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Foamres

I have defined a ramp BC for a parameter to increase from 0 in the start to 2 in the end of simulation (0.15 sec)

Code:
Cchi
 (
    (0    0)
    (0.15  2)
 );
However, during simulation when the quantity reaches around 1.5, it diverges. this is my output:

Code:
 Courant Number mean: 0.0187511 max: 0.307637
deltaT = 2.20033e-05
Time = 0.113157

diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG:  Solving for Ux, Initial residual = 3.29237e-05, Final residual = 3.19744e-12, No Iterations 2
DILUPBiCG:  Solving for Uy, Initial residual = 0.0056262, Final residual = 1.44868e-12, No Iterations 3
DILUPBiCG:  Solving for Uz, Initial residual = 0.000508302, Final residual = 1.91713e-11, No Iterations 2
DILUPBiCG:  Solving for Z, Initial residual = 3.85859e-06, Final residual = 4.80055e-10, No Iterations 1
Correcting mixture fraction variance with CvarZ = 1
Correcting scalar dissipation rate with Cchi = 1.50876
#0  Foam::error::printStack(Foam::Ostream&) in "/home/babak/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigSegv::sigHandler(int) in "/home/babak/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::linearInterpolation::interpolate(Foam::List<int> const&, Foam::List<double> const&) const in "/home/babak/OpenFOAM/babak-2.1.x/platforms/linux64GccDPOpt/lib/libFlameletCombustionModels.so"
#4  Foam::combustionModels::YSLFModel<Foam::combustionModels::rhoCombustionModel, Foam::sutherlandTransport<Foam::specieThermo<Foam::janafThermo<Foam::perfectGas> > > >::correct() in "/home/babak/OpenFOAM/babak-2.1.x/platforms/linux64GccDPOpt/lib/libFlameletCombustionModels.so"
#5  
 in "/home/babak/OpenFOAM/babak-2.1.x/platforms/linux64GccDPOpt/bin/flameletFoam"
#6  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7  
 in "/home/babak/OpenFOAM/babak-2.1.x/platforms/linux64GccDPOpt/bin/flameletFoam"
Segmentation fault
Would you PLZ hint me why this happens?

Regards
Bobi
babakflame is offline   Reply With Quote

Old   February 24, 2014, 06:38
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
In $FOAM_TUTORIALS/multiphase/interPhaseChangeDyMFoam/propeller/0.org/U there is an example of a time depending boundary condition defined by a table.
babakflame likes this.
jherb 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
Question about defining parameter in CFX-pre Anna Tian CFX 1 September 30, 2012 11:10
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Error when input new parameter in Fluent micro11sl FLUENT 0 July 1, 2011 06:42
Defining a parameter for UDF Philipp_Sch Fluent UDF and Scheme Programming 11 May 2, 2011 22:32
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 20:11


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