CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OF 2.2.x and v2f model (http://www.cfd-online.com/Forums/openfoam-solving/114443-2-2-x-v2f-model.html)

Yoann March 11, 2013 09:10

OF 2.2.x and v2f model
 
Hello,
I test the implementation of the model v2f in openfoam 2.2.0.

I launched the hotRoom tutorial of the solveur buoyantSimpleFoam with the model v2f.

I have this error message:


--> FOAM FATAL ERROR:
temporary deallocated

From function T& Foam::tmp<T>::operator()()
in file /home/etudes/OpenFOAM/OpenFOAM-2.2.x/src/OpenFOAM/lnInclude/tmpI.H at line 190.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >::operator()() in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#3 Foam::compressible::RASModels::v2f::correct() in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/lib/libcompressibleRASModels.so"
#4
in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6
in "/home/etudes/OpenFOAM/OpenFOAM-2.2.x/platforms/linux64GccDPOpt/bin/buoyantSimpleFoam"
Abandon



Has anyone already tested this model and knows where my problem?



Thank.

bscphil April 2, 2013 10:25

What is your intention to solve this case with the v2f model?
What is with your bc's? please post the bcs and your assumptions...

Yoann April 3, 2013 03:06

It was a bug in version 2.2.
This is modified.

hamide January 13, 2016 09:57

error in v2f
 
hello all
i'm new in openfoam and wanna modeling turbulence with v2f model. i did it, but i faced an error:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : pisoFoam
Date : Jan 13 2016
Time : 16:45:08
Host : "hamide-HP-ProBook-4530s"
PID : 2792
Case : /home/hamide/run/tutorials/incompressible/pisoFoam/ras/aaaaV2f
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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 v2f
bounding v2, min: 0 max: 0.0625 average: 0.0625
v2fCoeffs
{
Cmu 0.22;
CmuKEps 0.09;
C1 1.4;
C2 0.3;
CL 0.23;
Ceta 70;
Ceps2 1.9;
sigmaK 1;
sigmaEps 1.3;
}


Starting time loop

Time = 5e-05

Courant Number mean: 0.0003125 max: 0.529571
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 3.21506e-06, No Iterations 9
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 3.76836e-06, No Iterations 11
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.098316, No Iterations 541
time step continuity errors : sum local = 6.14801e-05, global = -8.04276e-07, cumulative = -8.04276e-07
DICPCG: Solving for p, Initial residual = 0.023492, Final residual = 9.11666e-07, No Iterations 585
time step continuity errors : sum local = 1.4079e-06, global = -1.61994e-09, cumulative = -8.05896e-07
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/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/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#6 Foam::incompressible::RASModels::v2f::correct() in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so"
#7
in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/pisoFoam"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9
in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/pisoFoam"
Floating point exception (core dumped)



would you please help me to solve it?


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