CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   accessing value of contact angle (https://www.cfd-online.com/Forums/openfoam-pre-processing/199179-accessing-value-contact-angle.html)

KillerBee February 27, 2018 14:18

accessing value of contact angle
 
Hey Guys,

with hoping that my problem fits into this category, was wondering if anyone could help with accessing and changing the value of contact angle for a certain patchID?

in other words to break it down, I wanna change the value of contact angle within the main code block (not where the alpha property is defined) to another value for a certain patch (let's call it wall) within a certain region (like a box) of the mesh (not everywhere)?

since the BC I'm dealing with is a alphaContactAngleFvPatchScalarField, was wondering if I can use setFields to define a region (box in this case) and apply this change (if so please specify how I can do this), and if not any other suggestion?

any help is highly appreciated!


All times are GMT -4. The time now is 11:58.