|
[Sponsors] |
February 2, 2013, 14:05 |
groovyBC issue - k and epsilon
|
#1 |
New Member
Sagnik
Join Date: Oct 2012
Posts: 28
Rep Power: 14 |
Hi, I am trying to implement groovyBC for k and epsilon for a domain inlet located in between Xmin = -0.254 to Xmax = 3.556. The relevant k and epsilon files are attached for reference. The k and epsilon values are always positive for the all pos().x. The groovyBC works for Ux and Uy velocities for that inlet. However its the k and epsilon that's creating troubles. When I use a fixedValue for epsilon (value uniform 0.01) at the boundary with groovyBC function for k, then it gives the following error:
-------------------------------------------------------------- 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 realizableKE bounding k, min: 0 max: 0.59375 average: 0.1593749999999999 realizableKECoeffs { Cmu 0.09; A0 4; C2 1.9; sigmak 1; sigmaEps 1.2; } No field sources present SIMPLE: convergence criteria field p tolerance 1e-6 field U tolerance 1e-6 field "(k|epsilon|omega)" tolerance 1e-6 Starting time loop Time = 1 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.01221319187944816, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.000175166776251753, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 0.9999999993231693, Final residual = 0.01273879170881757, No Iterations 1 DICPCG: Solving for p, Initial residual = 0.9999999960428109, Final residual = 0.09699403429229032, No Iterations 154 time step continuity errors : sum local = 0.05527557721138961, global = -6.764283616009572e-11, cumulative = -6.764283616009572e-11 DILUPBiCG: Solving for epsilon, Initial residual = 1, Final residual = 0.001747110343310934, No Iterations 1 #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #6 Foam::incompressible::RASModels::realizableKE::cor rect() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #7 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/simpleFoam" #8 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #9 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/simpleFoam" Floating point exception (core dumped) -------------------------------------------------------------------------------- When I use a fixedValue for k (value uniform 0.1) at the boundary with the groovyBC function for epsilon, then it gives the following error: ------------------------------------------------------------------------------------------ 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 realizableKE bounding epsilon, min: 0 max: 5.88 average: 5.879999999999997 #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Uninterpreted: #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #6 Foam::incompressible::RASModels::realizableKE::rCm u(Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #7 Foam::incompressible::RASModels::realizableKE::rCm u(Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #8 Foam::incompressible::RASModels::realizableKE::rea lizableKE(Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&, Foam::word const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #9 Foam::incompressible::RASModel::adddictionaryConst ructorToTable<Foam::incompressible::RASModels::rea lizableKE>::New(Foam::GeometricField<Foam::Vector< double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #10 Foam::incompressible::RASModel::New(Foam::Geometri cField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libincompressibleRASModels.so" #11 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/simpleFoam" #12 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #13 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/simpleFoam" Floating point exception (core dumped) ---------------------------------------------------------------------------------------------------- When I used fixedValue for k and epsilon at the boundaries, the simulation runs fine. I have read forum discussions like "http://www.cfd-online.com/Forums/openfoam-solving/71495-groovybc-k-profile.html" but still could not figure out the issue. Even using a groovyBC with constant values does not help for k and epsilon like: type groovyBC; value uniform 0.01; variables "a1=0.01;kcalc=a1;"; valueExpression "kcalc"; Any inputs would be of great help. Thanks a lot. Sagnik |
|
February 2, 2013, 15:42 |
|
#2 | |||
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Quote:
Quote:
The simple function you use at last should work. Which version of swak/groovyBC do you use? Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||||
February 4, 2013, 14:40 |
|
#3 |
New Member
Sagnik
Join Date: Oct 2012
Posts: 28
Rep Power: 14 |
We are using the latest version: swakVersion: 0.2.1 (Release date: 2012-10-18)
OpenFOAM version is 2.1.1 The controlDict file calls the following libs: "libOpenFOAM.so" "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" "libgroovyBC.so" All k and epsilon values are positive. In fact type groovyBC; value uniform 0.01; variables "a1=0.01;kcalc=a1;"; valueExpression "kcalc"; also doesn't work. I believe it should. Any other suggestions on things that we should check/verify would be of great help ! |
|
February 4, 2013, 15:57 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 7, 2013, 15:15 |
|
#5 |
New Member
Sagnik
Join Date: Oct 2012
Posts: 28
Rep Power: 14 |
Hi, I have put 2 cases to demonstrate the problem. The cases can be downloaded from:
http://dl.dropbox.com/u/58859393/Case_Demos.zip For Test_groovyBC_1, I use a type fixedValue; value uniform 0.1; condition for "inletFront" and the case runs. For Test_groovyBC_2, I use a type groovyBC; variables "a1k=0.1;kcalc=a1k;"; valueExpression "kcalc"; value uniform 0.01; condition for "inletFront" and the case throws out the error I mentioned in the very first iteration. All other parameters are the same for the test cases. Note that I implemented groovyBC for the velocity as well which seems to work fine. The geometry, mesh etc. doesn't make too much sense. Its just for testing. It would be great if you can suggest a way out. Thanks for all the help. Sagnik |
|
February 7, 2013, 18:57 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The working version is in the public development repository. How to download that is described here: http://openfoamwiki.net/index.php/Co...am#Development
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 12, 2013, 15:55 |
|
#7 |
New Member
Sagnik
Join Date: Oct 2012
Posts: 28
Rep Power: 14 |
Thanks a lot. We have tested quite a few cases in the past few days and it works perfectly fine.
|
|
March 20, 2013, 08:27 |
groovy bc
|
#8 |
New Member
Lamia
Join Date: Feb 2013
Posts: 18
Rep Power: 13 |
hey every one
I am a new user of the code OpenFoam I found that groovy bc is an important tool but I still have problems with it here is my example I need to program an epsilon profile in my inlet and the equation of this profil is the following: epsilon=Ustar^3/(k(y+y0)) how can I do it? I really need help to have some progress in my thesis.. best regards Lamia |
|
March 20, 2013, 19:04 |
|
#9 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
Otherwise: please explain the terms in your expression. Not everyone is familiar with your nomenclatur
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
March 21, 2013, 08:47 |
|
#10 |
New Member
Lamia
Join Date: Feb 2013
Posts: 18
Rep Power: 13 |
thank's for your answer
I can make things more clear I simply need to programm the privious equation with groovy Bc I tried this: inlet { type groovyBC; variables "u_f=0.43;y0=0.0007,y=5;epsi=pow(U_f,3)/k(pos( ).y+y0);" valueExpression "epsi"; } but it gives me an error message I don't know why! and where can I find a tutorial about groovyBC? |
|
March 21, 2013, 09:51 |
|
#11 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
- the "," before y=5 (which is not needed anyway) - Case is important: either write U_f or u_f Tutorial: have you checked out my presentation from the Workshop at PSU in 2011 (it is linked from the swak-Wiki-page)? That is the closest thing to a tutorial that I wrote (don't know if there are any others out there)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
March 26, 2013, 01:14 |
|
#12 |
New Member
Getnet
Join Date: Aug 2011
Location: LSU
Posts: 20
Rep Power: 15 |
Hi Bernhard,
I am interested to use groovyBC within the "immersed boundary method" which was released during the seventh openfoam workshop. I want to apply groovyBC for one of my variables at this boundary. Since the immersed boundary was not defined as a patch, the groovyBC is not able to understand it, do you have any suggestions if I am able to use groovyBC for this case? Thanks |
|
March 26, 2013, 05:42 |
|
#13 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
But that is strictly without looking at the source
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
April 12, 2013, 00:38 |
|
#14 |
New Member
Getnet
Join Date: Aug 2011
Location: LSU
Posts: 20
Rep Power: 15 |
Thanks Bernhard, it seems the implementation is by fixing cell values with Bi-linear interpolation. I will look in detail to your suggestions. I have used the groovyBC for a boundary condition in suspended sediment transport and it is working well for a fixed and movable body-fitted boundary. I am moving to an Immersed boundary method and I am interested to use it if it can work.
|
|
July 4, 2013, 23:42 |
|
#15 |
Member
Jubayer
Join Date: Oct 2009
Location: The University of Western Ontario, London, Ontario
Posts: 42
Blog Entries: 1
Rep Power: 17 |
Hi,
I compiled swak4foam as post#6 but still having some errors. I faced similar problem before and following post#6 worked on my system. However, recently I compiled swak4foam over a cluster but the simulation is not working. OF version is 2.1.1. ----------------------------- // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 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 turbulence model type RASModel Selecting RAS turbulence model kOmegaSST bounding k, min: 0 max: 28 average: 20 bounding omega, min: 0 max: 10 average: 10 kOmegaSSTCoeffs { alphaK1 0.85034; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.85616; gamma1 0.5532; gamma2 0.4403; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } Starting time loop Time = 0.0001 [40] [41] #0 Foam::error:rintStack(Foam::Ostream&)#0 Foam::error:rintStack(Foam::Ostream&)-------------------------------------------------------------------------- An MPI process has executed an operation involving a call to the "fork()" system call to create a child process. Open MPI is currently operating in a condition that could result in memory corruption or other system errors; your MPI job may hang, crash, or produce silent data corruption. The use of fork() (or system() or other calls that create child processes) is strongly discouraged. The process that invoked fork was: Local host: orc214 (PID 10423) MPI_COMM_WORLD rank: 40 If you are *absolutely sure* that your application will successfully and correctly survive a call to fork(), you may disable this warning by setting the mpi_warn_on_fork MCA parameter to 0. -------------------------------------------------------------------------- addr2line failed [41] #1 Foam::sigFpe::sigHandler(int) addr2line failed [40] #1 Foam::sigFpe::sigHandler(int) addr2line failed [41] #2 addr2line failed [40] #2 addr2line failed [41] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) addr2line failed [40] #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) addr2line failed [41] #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) addr2line failed[40] #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) addr2line failed[41] #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) addr2line failed[40] #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) addr2line failed [41] #6 Foam::incompressible::RASModels::kOmegaSST::F2() const addr2line failed [40] #6 Foam::incompressible::RASModels::kOmegaSST::F2() const addr2line failed [41] #7 Foam::incompressible::RASModels::kOmegaSST::F23() const addr2line failed [40] #7 Foam::incompressible::RASModels::kOmegaSST::F23() const addr2line failed[41] #8 Foam::incompressible::RASModels::kOmegaSST::kOmega SST(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&, Foam::word const&) addr2line failed[40] #8 Foam::incompressible::RASModels::kOmegaSST::kOmega SST(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&, Foam::word const&) addr2line failed[41] #9 Foam::incompressible::RASModel::adddictionaryConst ructorToTable<Foam::incompressible::RASModels::kOm egaSST>::New(Foam::GeometricField<Foam::Vector<dou ble>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[40] #9 Foam::incompressible::RASModel::adddictionaryConst ructorToTable<Foam::incompressible::RASModels::kOm egaSST>::New(Foam::GeometricField<Foam::Vector<dou ble>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[41] #10 Foam::incompressible::RASModel::New(Foam::Geometri cField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[40] #10 Foam::incompressible::RASModel::New(Foam::Geometri cField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[41] #11 Foam::incompressible::turbulenceModel::addturbulen ceModelConstructorToTable<Foam::incompressible::RA SModel>::NewturbulenceModel(Foam::GeometricField<F oam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[40] #11 Foam::incompressible::turbulenceModel::addturbulen ceModelConstructorToTable<Foam::incompressible::RA SModel>::NewturbulenceModel(Foam::GeometricField<F oam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[41] #12 Foam::incompressible::turbulenceModel::New(Foam::G eometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[40] #12 Foam::incompressible::turbulenceModel::New(Foam::G eometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&) addr2line failed[41] #13 addr2line failed[40] #13 [41][41] #14 __libc_start_main[40] [40] #14 __libc_start_main addr2line failed[41] #15 addr2line failed[40] #15 [41][orc214:10424] *** Process received signal *** [orc214:10424] Signal: Floating point exception (8)[orc214:10424] Signal code: (-6) [orc214:10424] Failing at address: 0x1fe82000028b8[orc214:10424] [ 0] /lib64/libc.so.6(+0x32920) [0x2b0d072c2920][orc214:10424] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b0d072c28a5] [orc214:10424] [ 2] /lib64/libc.so.6(+0x32920) [0x2b0d072c2920][orc214:10424] [ 3] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0xc1) [0x2b0d0652c861][orc214:10424] [ 4] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam6divideINS_1 2fvPatchFieldENS_7volMeshEEEvRNS_14GeometricFieldI dT_T0_EERKS6_S9_+0xd8) [0x2b0d04256cf8][orc214:10424] [ 5] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4FoamdvINS_12fvPa tchFieldENS_7volMeshEEENS_3tmpINS_14GeometricField IdT_T0_EEEERKS8_SA_+0x280) [0x2b0d0426f3a0][orc214:10424] [ 6] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZNK4Foam14incompres sible9RASModels9kOmegaSST2F2Ev+0x141) [0x2b0d04286c41][orc214:10424] [ 7] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZNK4Foam14incompres sible9RASModels9kOmegaSST3F23Ev+0x21) [0x2b0d04286ff1][orc214:10424] [ 8] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels9kOmegaSSTC1ERKNS_14GeometricFieldIN S_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEERKNS3 _IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_14tra nsportModelERKNS_4wordESK_+0xeef) [0x2b0d0428942f][orc214:10424] [ 9] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible8RASModel31adddictionaryConstructorToTableINS0 _9RASModels9kOmegaSSTEE3NewERKNS_14GeometricFieldI NS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEERKNS 6_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_14tr ansportModelERKNS_4wordE+0x59) [0x2b0d0429b9d9][orc214:10424] [10] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible8RASModel3NewERKNS_14GeometricFieldINS_6Vector IdEENS_12fvPatchFieldENS_7volMeshEEERKNS2_IdNS_13f vsPatchFieldENS_11surfaceMeshEEERNS_14transportMod elERKNS_4wordE+0x36e) [0x2b0d0420780e][orc214:10424] [11] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible15turbulenceModel36addturbulenceModelConstruct orToTableINS0_8RASModelEE18NewturbulenceModelERKNS _14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldE NS_7volMeshEEERKNS5_IdNS_13fvsPatchFieldENS_11surf aceMeshEEERNS_14transportModelERKNS_4wordE+0x10) [0x2b0d04215cc0][orc214:10424] [12] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so(_ZN4Foam14inco mpressible15turbulenceModel3NewERKNS_14GeometricFi eldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEE RKNS2_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_ 14transportModelERKNS_4wordE+0x8a0) [0x2b0d03f3c270][orc214:10424] [13] pisoFoam() [0x416b7b] [orc214:10424] [14] /lib64/libc.so.6(__libc_start_main+0xfd) [0x2b0d072aecdd][orc214:10424] [15] pisoFoam() [0x416429] [orc214:10424] *** End of error message *** [40][orc214:10423] *** Process received signal *** [orc214:10423] Signal: Floating point exception (8)[orc214:10423] Signal code: (-6)[orc214:10423] Failing at address: 0x1fe82000028b7 [orc214:10423] [ 0] /lib64/libc.so.6(+0x32920) [0x2b5452d3e920][orc214:10423] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x2b5452d3e8a5][orc214:10423] [ 2] /lib64/libc.so.6(+0x32920) [0x2b5452d3e920][orc214:10423] [ 3] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKNS_ 5UListIdEES6_+0xc1) [0x2b5451fa8861][orc214:10423] [ 4] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam6divideINS_1 2fvPatchFieldENS_7volMeshEEEvRNS_14GeometricFieldI dT_T0_EERKS6_S9_+0xd8) [0x2b544fcd2cf8][orc214:10423] [ 5] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4FoamdvINS_12fvPa tchFieldENS_7volMeshEEENS_3tmpINS_14GeometricField IdT_T0_EEEERKS8_SA_+0x280) [0x2b544fceb3a0][orc214:10423] [ 6] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZNK4Foam14incompres sible9RASModels9kOmegaSST2F2Ev+0x141) [0x2b544fd02c41][orc214:10423] [ 7] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZNK4Foam14incompres sible9RASModels9kOmegaSST3F23Ev+0x21) [0x2b544fd02ff1][orc214:10423] [ 8] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels9kOmegaSSTC1ERKNS_14GeometricFieldIN S_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEERKNS3 _IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_14tra nsportModelERKNS_4wordESK_+0xeef) [0x2b544fd0542f][orc214:10423] [ 9] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible8RASModel31adddictionaryConstructorToTableINS0 _9RASModels9kOmegaSSTEE3NewERKNS_14GeometricFieldI NS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEERKNS 6_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_14tr ansportModelERKNS_4wordE+0x59) [0x2b544fd179d9][orc214:10423] [10] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible8RASModel3NewERKNS_14GeometricFieldINS_6Vector IdEENS_12fvPatchFieldENS_7volMeshEEERKNS2_IdNS_13f vsPatchFieldENS_11surfaceMeshEEERNS_14transportMod elERKNS_4wordE+0x36e) [0x2b544fc8380e][orc214:10423] [11] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible15turbulenceModel36addturbulenceModelConstruct orToTableINS0_8RASModelEE18NewturbulenceModelERKNS _14GeometricFieldINS_6VectorIdEENS_12fvPatchFieldE NS_7volMeshEEERKNS5_IdNS_13fvsPatchFieldENS_11surf aceMeshEEERNS_14transportModelERKNS_4wordE+0x10) [0x2b544fc91cc0][orc214:10423] [12] /work/jubayer/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleTurbulenceModel.so(_ZN4Foam14inco mpressible15turbulenceModel3NewERKNS_14GeometricFi eldINS_6VectorIdEENS_12fvPatchFieldENS_7volMeshEEE RKNS2_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERNS_ 14transportModelERKNS_4wordE+0x8a0) [0x2b544f9b8270][orc214:10423] [13] pisoFoam() [0x416b7b] [orc214:10423] [14] /lib64/libc.so.6(__libc_start_main+0xfd) [0x2b5452d2acdd][orc214:10423] [15] pisoFoam() [0x416429] [orc214:10423] *** End of error message ***-------------------------------------------------------------------------- Any help will be greatly appreciated. Jubayer |
|
July 8, 2013, 16:12 |
|
#16 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 18, 2014, 11:34 |
I need help about groovy bc
|
#17 |
New Member
Lamia
Join Date: Feb 2013
Posts: 18
Rep Power: 13 |
hello everybody
simply I need to program an Omega profil for KOmega sst model as inlet boundary condition I just ignore how to do it while I have the equation of the profil of Omega omega=alpha*u/sqrt(C).z Is it possible to program that equation by using groovy bc? |
|
February 18, 2014, 12:01 |
|
#18 |
Member
Jubayer
Join Date: Oct 2009
Location: The University of Western Ontario, London, Ontario
Posts: 42
Blog Entries: 1
Rep Power: 17 |
Hi LamiaOF2.1,
I am attaching one of my omega file for your reference which uses groovyBC for the inlet profile. Hope this helps. Jubayer |
|
February 19, 2014, 11:34 |
omega profil
|
#19 |
New Member
Lamia
Join Date: Feb 2013
Posts: 18
Rep Power: 13 |
thank you so much for your reply
I will try with this one and let you know about the result ps: I am a new user of OpenFoam and I am preparing my Ph.D in atmospheric pollution so I really need to contact someone who has some information about the code, I can say I had an interesting progress but I want more if you are interested here is my personal adress without_truth@hotmail.fr |
|
February 19, 2014, 12:13 |
groovy bc
|
#20 |
New Member
Lamia
Join Date: Feb 2013
Posts: 18
Rep Power: 13 |
hello
I am trying to program with groovy BC this equation w=alpha*Uref/sqrt(Cµ)*Yref I tried this but it gives me an error message inlet { type groovyBC; variables "Uref=5;Yref=0.5;alpha=0.33;Cµ=0.09; omg=((Uref*alpha)/(sqrt(Cµ)*Yref));" valueExpression "omg"; } so is that make any sens? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 16 | March 4, 2017 09:30 |
[swak4Foam] epsilon groovyBC problem | Thom | OpenFOAM Community Contributions | 5 | October 26, 2012 06:16 |
epsilon and K blowing up. | sivakumar | OpenFOAM Running, Solving & CFD | 1 | October 25, 2012 05:50 |
K Epsilon convergance issue | Ollie | OpenFOAM | 2 | April 18, 2011 09:28 |
SimpleFoam k and epsilon bounded | nedved | OpenFOAM Running, Solving & CFD | 1 | November 25, 2008 21:21 |