CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Fail to run when turn on Wll Contact Angle (https://www.cfd-online.com/Forums/openfoam-solving/58873-fail-run-when-turn-wll-contact-angle.html)

hsieh May 7, 2006 18:38

Hi, I am wondering if anyon
 
Hi,

I am wondering if anyone has the same error when trun on wall contact angle:

------------------------------------
Exec : interFoam . damBreak
Date : May 07 2006
Time : 18:38:02
Host : linux
PID : 7709
Root : /home/phsieh/OpenFOAM/phsieh-1.3/run/tutorials/interFoam
Case : damBreak
Nprocs : 1
Create time

Create mesh

Selecting dynamicFvMesh staticFvMesh

Reading environmentalProperties
Reading field pd

Reading field gamma

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian


--> FOAM FATAL ERROR : Not implemented

From function defaultFvPatchField<type>::defaultFvPatchField(con st fvPatch& p, const Field<type>& iF)
in file fields/fvPatchFields/basicFvPatchFields/default/defaultFvPatchField.C at line 50.

FOAM aborting

Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)
Foam::error::abort()
Foam::defaultFvPatchField<double>::defaultFvPatchF ield(Foam::fvPatch const&, Foam::Field<double> const&)
Foam::fvPatchField<double>::addpatchConstructorToT able<foam::defaultfvpatchfield <double> >::New(Foam::fvPatch const&, Foam::Field<double> const&)
Foam::fvPatchField<double>::New(Foam::word const&, Foam::fvPatch const&, Foam::Field<double> const&)
interFoam [0x467ff6]
interFoam [0x489bee]
interFoam [0x43ace5]
__libc_start_main
__gxx_personality_v0
Aborted
-----------------------------

Pei

eugene May 8, 2006 08:10

What is your gamma boundary ca
 
What is your gamma boundary called?

It should one of the following:
constantGammaContactAngle
dynamicGammaContactAngle
timeVaryingGammaContactAngle

check interFoam/interfaceProperties/gammaContactAngle
for details.

hsieh May 9, 2006 10:09

Hi, Eugene, Thanks for the
 
Hi, Eugene,

Thanks for the reply.

It works after I manually change from gammaContactAngle to constantGammaContactAngle.

However, if I use FoamX to set the case up, I only get "gammaContactAngle" - cannot specify whether it is constant or dynamic or timeVarying. Is it correct? Am I missing something when using FoamX? (this is not a problem in version 1.2).

Pei

eugene May 9, 2006 10:55

Post this to the Bug forum.
 
Post this to the Bug forum.

markdowlinguk July 26, 2007 04:39

Sorry to re-open this one but
 
Sorry to re-open this one but I have exactly the same problem, but I dont understand Eugene's answer to it.

I checked to find a file or directory called interFoam/interfaceProperties/gammaContactAngle (under applications/solvers/multiphase) but in my version (OpenFoam 1.4) I couldnt find anything there.

I tried changing "gammaContactAngle" to "constantGammaContactAngle" in the gamma file at time 0 - but that just produced another error because it didnt recognise the expression constantGammaContactAngle

If somebody could indulge a beginner like me and take me through what Pei did to get his case working I would be very grateful.

Many thanks
Mark

hsieh July 26, 2007 08:00

Hi, Mark, Send me your emai
 
Hi, Mark,

Send me your email address. I can send you a simple case file to see if you can run it without any problem.

Pei

phsieh2005@yahoo.com

hsieh August 7, 2007 08:25

Hi, Mark, Did you receive t
 
Hi, Mark,

Did you receive the test case I sent you? Did that resolve your issue?

Pei

girogirozakk October 17, 2007 23:11

Hi, Pei-Ying Hsieh. I have th
 
Hi, Pei-Ying Hsieh.
I have the same problem.
If are there no problem , I want sample-case file.....OK?

Giro

lzw2003 May 21, 2008 01:02

Hi, I have the same probl
 
Hi,

I have the same problem.And i still can't solve it.I hope anyyone who did out can tell me.

But i don't think it is a bug. In the dynamicGammaContactAngleFvPatchField.C,it said :

if "utheta" < SMALL {return Theta0}.

I think in this time , it uses the constantgammacontactAngle model
. else using the dynamicgammacontactAngle model !


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