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/)
-   -   Setfields no rewriting alpha.water file (https://www.cfd-online.com/Forums/openfoam-pre-processing/198039-setfields-no-rewriting-alpha-water-file.html)

walakaka January 24, 2018 10:33

Setfields no rewriting alpha.water file
 
1 Attachment(s)
Hi there,






Update: problem solved, the "box" was too big and outside of my domain", used checkMesh to check the domain for my mesh

I modified the dambreak case to simulate a two-phase flow in a horizontal pipe.

However, the setFields command does not rewrite my alpha.water files. Therefore my whole pipe is filled with water (alpha = 1) instead of having the top half filled with air.

I was able to execute the commands in the dam break tutorial case, but not after I modified the geometry.

I have attached a zipfile of the openfoam case that I am currently using.

Does any one have any idea on how I could solve this issue?

Kind regards
Shafik

Fahime May 8, 2019 05:58

Mr Shafik
has your problem been solved? I have the same problem as you.


All times are GMT -4. The time now is 10:07.