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

Dynamic Mesh - Strange Pressure behaviour in the corner

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 2, 2024, 06:51
Smile Dynamic Mesh - Strange Pressure behaviour in the corner
  #1
New Member
 
Join Date: Jan 2024
Posts: 8
Rep Power: 2
danylo is on a distinguished road
Hello Foamers!

Hope everyone is doing well.

I am trying to model a phase change of water to ice, which includes an expansion of my system due to the density difference of the phases. The cooling comes from the wall on the right side and the idea is, that expansion is inversely proportional to ice present in the top cell of a column, so frozen regions dont expand any further and my system is bulge shaped in the end. The expansion is realized by applying a calculated Point-Displacement-value to the top boundary. I attached screenshots, where you can see the beginning of this happening.

Now my problem is, that once the first frozen region slows its expansion down, the pressure field shows a weird behaviour in the corner. The cell in the corner has a higher pressure than the system (1e5), while the one right beneath it has a lower one. This trend accelerates as the simulation goes on and leads to a crash. And the pressure field is not the only one showing weird behavior due to the mesh motion (e.g. ice fraction tends to go over 100 % in this case). I guess the reason for this is, that the CellMotion, which OpenFOAM calculates, tends to zero in the top right corner, but the cells beneath it still have a relevant CellMotion value due to the moving neighbour cells (Screenshot of this is attached), but I dont know how I could counteract this.

My question is, what are the internal mechanisms of the OpenFOAM mesh-motion, which could lead to this an what can I do to prevent it from happening? Any help would be appreciated!

Some extra Info on my case:
BCs:
U
Top: pressureInletOutletVelocity (0 0 0)
Rest: noSlip

p
Top: totalPressure 1e5
Rest: zeroGradient

motionSolver:
velocityComponentLaplacian

diffusivity:
quadratic inverse distance to bottom wall

Down below are screenshots of the CellMotion in y direction, Ice Fraction and temperature.

Thank you in advance!
Attached Images
File Type: png CellMotionUy.png (47.3 KB, 9 views)
File Type: png IceFraction.png (20.5 KB, 7 views)
File Type: png Pressure.png (19.2 KB, 5 views)
danylo is offline   Reply With Quote

 

Tags
corner, dynamic mesh, expansion, phase change, pressure


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
foam-extend-4.1 release hjasak OpenFOAM Announcements from Other Sources 19 July 16, 2021 05:02
Fail to converge when solving with a fabricated solution zizhou FLUENT 0 March 22, 2021 06:33
total pressure dynamic pressure static pressure roi247 FLUENT 19 February 4, 2020 12:52
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 13:19


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