CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: jherb
Forum: OpenFOAM Pre-Processing September 2, 2019, 17:43
Replies: 6
Views: 1,124
Posted By jherb
I think, you want this: ...

I think, you want this:
https://cpp.openfoam.org/v4/classFoam_1_1prghPressureFvPatchScalarField.html#details


This boundary condition provides static pressure condition for p_rgh, calculated as:...
Forum: OpenFOAM Pre-Processing September 2, 2019, 17:34
Replies: 6
Views: 1,124
Posted By jherb
Yes, both tanks should have the same reference...

Yes, both tanks should have the same reference point.


So if the heights are different, the boundary (fixed)Value should be different.


(I am not totally sure about the sign)


So for the...
Forum: OpenFOAM Pre-Processing September 2, 2019, 15:33
Replies: 6
Views: 1,124
Posted By jherb
I think for your case, you have to set fixedValue...

I think for your case, you have to set fixedValue boundary conditions in your patches (1) and (2) with the value
p_atmosphere - rho(at position of boundary) * g * h_rel


h_rel is the hight...
Showing results 1 to 3 of 3

 
Forum Jump

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