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

funkySetFields and OF1.7.0

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

Like Tree1Likes
  • 1 Post By michielm

Reply
 
LinkBack Thread Tools Display Modes
Old   July 8, 2010, 08:14
Default funkySetFields and OF1.7.0
  #1
Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 80
Rep Power: 8
rcastilla is on a distinguished road
Hi, I was using funkySetFields with interFoam in OpenFoam 1.6 without problems. Now, I have upgraded to 1.7.0, and compiled the funkySetFields and it gives the error:

Quote:
--> FOAM FATAL IO ERROR:
Unknown patchField type constantAlphaContactAngle for patch type wall

Valid patchField types are :

41
(
advective
buoyantPressure
calculated
cyclic
directMapped
directionMixed
empty
fan
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
mixed
oscillatingFixedValue
outletInlet
partialSlip
processor
rotatingTotalPressure
sliced
slip
symmetryPlane
syringePressure
timeVaryingMappedFixedValue
timeVaryingMappedTotalPressure
timeVaryingTotalPressure
timeVaryingUniformFixedValue
timeVaryingUniformInletOutlet
totalPressure
totalTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
waveTransmissive
wedge
zeroGradient
)
related to the modification of the alpha1 file.

Any idea of wath is wrong?

Robert
rcastilla is offline   Reply With Quote

Old   July 8, 2010, 09:57
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by rcastilla View Post
Hi, I was using funkySetFields with interFoam in OpenFoam 1.6 without problems. Now, I have upgraded to 1.7.0, and compiled the funkySetFields and it gives the error:

related to the modification of the alpha1 file.

Any idea of wath is wrong?

Robert
FSF only "knows" (because it is linked against that) the boundary-conditions in libfiniteVolume.so. The BC you have is application-specific. So it is either implemented in the solver or in another library. In the first case you have bad luck and must temporarily change the BC on the patch to something from that list. In the second case (BC in a library) you can add the library to the libs-list in the controlDict. The library will then be loaded in the beginning and FSF will "know" it

Bernhard
gschaider is offline   Reply With Quote

Old   July 8, 2010, 10:23
Default
  #3
Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 80
Rep Power: 8
rcastilla is on a distinguished road
Bernhard,

I wanted to use FSF with an interFoam simulation. So, I have put the same includes and libs in the options file in the Make folder than in the interFoam source tree, I have recompiled it, and now it works perfectly.

Thanks so much!

Robert
rcastilla is offline   Reply With Quote

Old   July 8, 2010, 15:43
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by rcastilla View Post
I wanted to use FSF with an interFoam simulation. So, I have put the same includes and libs in the options file in the Make folder than in the interFoam source tree, I have recompiled it, and now it works perfectly.
An entry of the form
Code:
libs ("libmissingLibrary1.so" "libmissingLibrary2.so");
in the controlDict of the case would have had the same effect and you would not have to recompile FSF for every other solver/case

Bernhard
gschaider is offline   Reply With Quote

Old   November 5, 2012, 00:56
Default
  #5
Member
 
Adam James
Join Date: Jul 2010
Posts: 36
Rep Power: 7
steph79 is on a distinguished road
Hi,

I've been experiencing the same error when using FSF (in 2.1.1) to initialise a domain containing a constantAlphaContactAngle patch. Does anybody know the specific libraries to include in the controlDict? I know how to work around it, but it would be preferable to have a robust solution.

Thanks.
steph79 is offline   Reply With Quote

Old   November 6, 2012, 04:33
Default
  #6
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 6
michielm is on a distinguished road
I think you need this one: libtwoPhaseInterfaceProperties.so
because that is the library where constantAlphaContactAngle is build-in
nimasam likes this.
michielm 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
Problems when compiling OF1.7.0 on CentOS bhh OpenFOAM Bugs 4 June 30, 2010 04:41


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