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

Problems validating fvOption solidficationMeltingSource using simple Stefan-Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2021, 07:19
Default Problems validating fvOption solidficationMeltingSource using simple Stefan-Problem
  #1
New Member
 
Join Date: Aug 2021
Posts: 3
Rep Power: 4
foxcfd is on a distinguished road
Hi guys,


I am trying to simulate the phase transition from water to ice using
buoyantPimplefoam and the fvOption solidificationMeltingSource.
Using this i created a simple Stefan-Problem consisting of adiabatic
walls and a single fixed temperature wall. As the temperature of this
wall is lower than the liquid, the liquid start to freeze.

I have the problem that the analytical and numerical data do not match.
I have attached several files, the first two images are my thermophysical
properties and my fvOptions file and the third image shows the simulation
progress, top is the temperature and bottom is the phase fraction of liquid/ice.
0 stands for ice whereas 1 stands for liquid. Lastly the comparison between
the simulated and numerical results.



Does anyone have an idea what could have caused the difference
between the two solutions? The exact same values from the simulation
were used to calculate the numerical solution.


Thanks in advance.
Attached Images
File Type: png Screenshot from 2021-12-07 13-01-15.png (53.5 KB, 16 views)
File Type: png Screenshot from 2021-12-07 13-01-56.png (49.9 KB, 12 views)
File Type: png img.0019.png (15.5 KB, 14 views)
File Type: png L_334000_3.png (105.0 KB, 16 views)
foxcfd is offline   Reply With Quote

Old   December 8, 2021, 05:22
Default Timestep and Mesh
  #2
New Member
 
Join Date: Aug 2021
Posts: 3
Rep Power: 4
foxcfd is on a distinguished road
Hi everyone,

just a quick follow up. I have significantly reduced
my mesh and time step, which has resulted in my
numerical solution approaching that of the analytical
one. I assumed that mesh and my time step would
be fine enough, but that was apparently not the case.
foxcfd is offline   Reply With Quote

Reply

Tags
fvoptions, phase change, stefan problem


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
[solids4Foam] Problems while validating Turek and Hron (2006) FSI2 and FSI3 problems in solids4Foam subhasisa.rath OpenFOAM CC Toolkits for Fluid-Structure Interaction 0 September 6, 2021 17:02
Problem with FsiFOAM simulation of beams (2-4 beams) in a steady simple shear flow Aliiiii OpenFOAM Running, Solving & CFD 1 February 27, 2019 12:26
Stefan Problem : Tin Melting : Moving Boundary swparth OpenFOAM 0 September 21, 2017 14:53
Very simple combustion problem. Jouch FLUENT 4 October 21, 2004 22:28
extremely simple problem... can you solve it properly? Mikhail Main CFD Forum 40 September 9, 1999 09:11


All times are GMT -4. The time now is 13:25.