CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFOAM_setting a varying parameter with respect to spatial position (https://www.cfd-online.com/Forums/openfoam-solving/234237-openfoam_setting-varying-parameter-respect-spatial-position.html)

wilson_028 February 27, 2021 14:51

OpenFOAM_setting a varying parameter with respect to spatial position
 
I appreciate you seeing this thread.

I want to simulate the two-phase flow in a rock fracture using VOF method.
The equations are 2 dimensional, and the aperture of the fracture is the parameter. The aperture distribution is shown as the figure.
The fracture data are available. At a certain position, the value of the aperture can be determined by the data or interpolation.

How to implement this in OpenFOAM ? If there are some similar cases in the OpenFOAM tutorials, I will appreciate it if anyone can tell me about it.

[IMG]http://m.qpic.cn/psc?/V14BDJ8A40fkDu/TmEUgtj9EK6.7V8ajmQrEMVhMdza3*Fe9eMZiHaaIeBccI*1st RH3cgMtsi1DlwtjxD6SVN2l0L19bqdlcdM94H7XOK6N*7WJDDS cfQjF8g!/b&bo=CgP4AAAAAAABF8E!&rf=viewer_4[/IMG]


All times are GMT -4. The time now is 05:12.