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

Fail to run when turn on Wll Contact Angle

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 7, 2006, 18:38
Default Hi, I am wondering if anyon
  #1
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 10
hsieh is on a distinguished road
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:stream&)
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
hsieh is offline   Reply With Quote

Old   May 8, 2006, 08:10
Default What is your gamma boundary ca
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13
eugene is on a distinguished road
What is your gamma boundary called?

It should one of the following:
constantGammaContactAngle
dynamicGammaContactAngle
timeVaryingGammaContactAngle

check interFoam/interfaceProperties/gammaContactAngle
for details.
eugene is offline   Reply With Quote

Old   May 9, 2006, 10:09
Default Hi, Eugene, Thanks for the
  #3
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 10
hsieh is on a distinguished road
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
hsieh is offline   Reply With Quote

Old   May 9, 2006, 10:55
Default Post this to the Bug forum.
  #4
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13
eugene is on a distinguished road
Post this to the Bug forum.
eugene is offline   Reply With Quote

Old   July 26, 2007, 04:39
Default Sorry to re-open this one but
  #5
New Member
 
Mark Dowling
Join Date: Mar 2009
Posts: 6
Rep Power: 9
markdowlinguk is on a distinguished road
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
markdowlinguk is offline   Reply With Quote

Old   July 26, 2007, 08:00
Default Hi, Mark, Send me your emai
  #6
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 10
hsieh is on a distinguished road
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 is offline   Reply With Quote

Old   August 7, 2007, 08:25
Default Hi, Mark, Did you receive t
  #7
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 10
hsieh is on a distinguished road
Hi, Mark,

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

Pei
hsieh is offline   Reply With Quote

Old   October 17, 2007, 23:11
Default Hi, Pei-Ying Hsieh. I have th
  #8
New Member
 
Giro
Join Date: Mar 2009
Posts: 13
Rep Power: 9
girogirozakk is on a distinguished road
Hi, Pei-Ying Hsieh.
I have the same problem.
If are there no problem , I want sample-case file.....OK?

Giro
girogirozakk is offline   Reply With Quote

Old   May 21, 2008, 01:02
Default Hi, I have the same probl
  #9
New Member
 
zhiwei liu
Join Date: Mar 2009
Posts: 22
Rep Power: 9
lzw2003 is on a distinguished road
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 !
lzw2003 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
contact angle yan FLUENT 4 November 6, 2012 05:22
Contact angle UDF shephali shrimali FLUENT 0 May 10, 2007 07:52
About the Contact Angle Flora FLUENT 2 March 8, 2007 03:07
Moving contact line (dynamic contact angle) Pulli FLUENT 0 March 1, 2007 13:31
how to set contact angle njtu FLUENT 0 August 26, 2005 12:47


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