CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to save the contact angle value and show in Paraview?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2021, 03:22
Post How to save the contact angle value and show in Paraview?
  #1
New Member
 
Zhicheng YUAN
Join Date: Dec 2021
Posts: 2
Rep Power: 0
Zhicheng YUAN is on a distinguished road
Hi everyone!

I am new at OpenFoam and focusing on the contact line behavior by using interFoam. Currently, I am trying to save the data of contact angle to output files and show the contact angle in Paraview. However, I tried several methods and got nothing.

In the boundary condition of alpha.water, I have the below setting,

bottomWall
{
type dynamicAlphaContactAngle;
theta0 100;
uTheta 0;
thetaA 100;
thetaR 100;
limit gradient;
value nonuniform List<scalar>

This boundary condition works well, but I would like to know how to show the contact angle contour in Paraview.

I tried modifying the createFields.H, but this doesnot seem to work, any suggestions on how to address this problem?

Thank you!
Zhicheng YUAN is offline   Reply With Quote

Reply

Tags
contact angle, interfoam, paraview


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



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