CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] funkySetFields and OF1.7.0

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By gschaider
  • 2 Post By michielm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2010, 08:14
Default funkySetFields and OF1.7.0
  #1
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
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: 4,225
Rep Power: 51
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
Senior Member
 
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 109
Rep Power: 17
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: 4,225
Rep Power: 51
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
shri@ likes this.
gschaider is offline   Reply With Quote

Old   November 4, 2012, 23:56
Default
  #5
Member
 
Join Date: Jul 2010
Posts: 37
Rep Power: 15
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, 03:33
Default
  #6
Member
 
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 15
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 and shri@ like this.
michielm is offline   Reply With Quote

Old   January 20, 2017, 02:03
Default
  #7
New Member
 
Join Date: Aug 2016
Posts: 4
Rep Power: 9
shri@ is on a distinguished road
Thank you !

I had a similar problem while implementing the 'dynamicAlphaContactAngle' for my case.
For OpenFOAM 3.0.x (with swak4Foam version 0.4.0 ) you need to add
"libtwoPhaseMixture.so" and "libtwoPhaseProperties.so" to controlDict libs section for implementing dynamic contact angle.

I am looking for a way where I can inject droplets (liquid ) in VOF setup (interFoam) after each time step.

It would be great if someone can guide me.

Thank you in advance.

Shridhar
shri@ 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OF1.7.0 installation problem with Intel compiler i1ya OpenFOAM Installation 3 August 14, 2010 03:14
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 10:43.