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

Hydrodynamic pressure distribution ignores boundary

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Carlo_P

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 28, 2020, 07:14
Default Hydrodynamic pressure distribution ignores boundary
  #1
New Member
 
Kai Salscheider
Join Date: Aug 2018
Posts: 13
Rep Power: 7
Skaiwalker is on a distinguished road
Hello all,

I learned a lot from the members of this awesome forum but by now I can't get my head around the hydrodynamic pressure and its point of reference:

I made a simple cuboid case, with z=0m at the bottom and z=0.1m at the top, the case is attached. I set the top plane as "fixedValue uniform 1e5" in "0/p" and "0/p_rgh" and "U=noSlip" at the entire boundary. But, as can be seen in the attached picture (top plane: boundary "air", sides show the internal mesh), the pressure distribution is wrong: It decreases from 1e5 at the bottom to ~.98e5 at the top. It should be 1e5 at the top (as stated in the boundary file) and ~1.2e5 at the bottom.

So the question is: Why is my boundary condition not accepted or what am I missing?


Background info on provided case: I want to simulate ingot melting in a crucible. The top plane represents the melt-air interface (pressure = 1e5Pa). The solver is buoyantPimpleFoam using an fvOpttion of type solidificationMeltingSource for ingot modeling. pRef cell is a cell at the top of the domain set to pRefValue 1e5.

PS: When I adjust the mesh to be z=0 at the top and z=-0.1m at the bottom the pressure distribution is right, represented by blockMeshDict_adjusted in the uploaded case.

Thank you very much in advance! Greetings
Kai
Attached Images
File Type: jpg pressureDistribution_cube.jpg (32.4 KB, 5 views)
Attached Files
File Type: zip buoyantPimpleFoam_tabulated.zip (18.7 KB, 2 views)

Last edited by Skaiwalker; September 28, 2020 at 07:16. Reason: bad title
Skaiwalker is offline   Reply With Quote

 


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Second Derivative Zero - Boundary Condition fu-ki-pa OpenFOAM 11 March 27, 2021 04:28
Ansys Licence Serve on Ubuntu 16.04 LTS david.pasquale ANSYS 2 January 20, 2017 11:52
Error in compiling new drag model k.farnagh OpenFOAM Programming & Development 13 May 21, 2016 03:08
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Building OpenFoAm on SGI Altix 64bits anne OpenFOAM Installation 8 June 15, 2006 09:27


All times are GMT -4. The time now is 00:37.