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

wallLubricationForce in twoPhaseEulerFoamSolver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2013, 11:48
Default wallLubricationForce in twoPhaseEulerFoamSolver
  #1
New Member
 
Daniel Wittig
Join Date: Oct 2012
Posts: 1
Rep Power: 0
vorsorge1988 is on a distinguished road
Hello Foamers,

I want to implement the wallLubricationForce in the twoPhaseEulerFoam solver. The compiling was succesfull, but if i want to solve the bubbleColumn-Case i got the following error:

Quote:



Courant Number mean: 0.0596327 max: 0.205145
Max Ur Courant Number = 0.128547
Time = 0.002

MULES: Solving for alpha1
MULES: Solving for alpha1
Dispersed phase volume fraction = 0.0001 Min(alpha1) = 0 Max(alpha1) = 0.5
#0 Foam::error:rintStack(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::sqrt(Foam::Field<double>&, Foam::UList<double> const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/tpef_wall"
#5
in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/tpef_wall"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/opt/openfoam220/platforms/linux64GccDPOpt/bin/tpef_wall"
I think the errorsource is the walldistance (yw) in my liftDragCoeff-File which i get from wallDist.H. I tried a lot, but my knowlegde in C++ is nearly zero. ^^

Quote:
volVectorField Ur(U2 - U1);
volScalarField magUr(mag(Ur) + residualSlip);
volVectorField nw = wallDistReflection(mesh).n();
volScalarField yw = wallDist(mesh).y();

volScalarField Cwall(0.5*CwlEo*d*(1.0/sqrt(yw)-1.0/sqrt(Dpipe-yw)));

volScalarField WallForceMag(CwlEo*alpha1*dichte*sqrt(mag(Ur-(Ur & nw)*nw)));

volVectorField WallForce(WallForceMag*(-nw));

Thank you for your help and ideas

Best regards Daniel
vorsorge1988 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



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