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

melting problem: looking for appropriate solvers

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree139Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2019, 23:43
Question Moisture evaporation - if-else loop
  #301
Senior Member
 
Kumaresh
Join Date: Oct 2016
Posts: 208
Rep Power: 6
Kummi is on a distinguished road
Send a message via Yahoo to Kummi
Hello Luca,
In previous message, I have given a condition for moisture evaporation (phase change) quoted in a box.
Quote:
CONDITION: T= 100 ==> moisture content =0
Based on it, mass and heat balances are calculated at the boiling plane (surface) as,
Mass balance (r) = rho * alpha * (dx/dt) [kg/m2.s]
Heat balance (-K dT/dx) = (r) * latent heat [W/m2]
I tried to evaluate the above condition separately. I mean, without pyrolysis, only phase change, in order to understand that how such condition can be implemented in the OpenFOAM.
I'm hereby attaching the solver (OF211). In this solver, under TEqn.H, I solved a if-else loop based on the above condition.
Quote:
forAll(mesh.cells(), celli)
{
if (T[celli] >= Tsat.value())
{
alpha[celli] = scalar(0.0);
}
else
{
alpha[celli] = alphaTemp[celli];
// alpha[celli] = alpha[celli];
// alpha[celli] = alpha[nearestCellIndex];
}
}
However, the alpha (moisture content) is not solved properly with appropriate outcome. In my case, alpha has no expression (field operation), alpha is only solved based on the loop. So, do we need an expression to solve alpha basically? any ideas ?

If you have any ideas about it, kindly do share.

It will be helpful. Thank you
Attached Files
File Type: gz Boiling_solver.tar.gz (156.7 KB, 7 views)
Kummi is offline   Reply With Quote

Old   November 24, 2019, 13:25
Default Solidification of pure metal
  #302
New Member
 
d durga prasad
Join Date: Nov 2019
Posts: 3
Rep Power: 2
dp32 is on a distinguished road
I was trying to make solidification model of pure metal.
can I use erfConvectiveMeltingPimpleFoam solver for solidification just by changing initial and boundary conditions or do I need to make any changes to the solver part?
dp32 is offline   Reply With Quote

Old   December 23, 2019, 07:46
Default
  #303
New Member
 
Join Date: Jun 2017
Posts: 9
Rep Power: 0
The Mad Scientist is on a distinguished road
making appropriate required physical changes should do
The Mad Scientist is offline   Reply With Quote

Old   December 23, 2019, 08:10
Default
  #304
New Member
 
d durga prasad
Join Date: Nov 2019
Posts: 3
Rep Power: 2
dp32 is on a distinguished road
Sir, can I know what are all the changes to be done?
dp32 is offline   Reply With Quote

Old   December 23, 2019, 08:12
Default
  #305
New Member
 
Join Date: Jun 2017
Posts: 9
Rep Power: 0
The Mad Scientist is on a distinguished road
first check your solver for any test case.. if its working fine then all you need to do is supply physical BC & IC along with thermophyscial parameter..
The Mad Scientist is offline   Reply With Quote

Old   December 23, 2019, 08:16
Default
  #306
New Member
 
d durga prasad
Join Date: Nov 2019
Posts: 3
Rep Power: 2
dp32 is on a distinguished road
Sir, i have checked the solver for melting problem and it's working fine. But, when it come to Solidification problem, i'm unable to capture the natural convection effects. so, could you please help me with the initial and boundary conditions.
dp32 is offline   Reply With Quote

Old   December 23, 2019, 08:20
Default
  #307
New Member
 
Join Date: Jun 2017
Posts: 9
Rep Power: 0
The Mad Scientist is on a distinguished road
post your results and error ...
The Mad Scientist is offline   Reply With Quote

Old   January 5, 2020, 07:37
Default
  #308
New Member
 
Riccardo Nati
Join Date: Dec 2019
Posts: 4
Rep Power: 2
riccardo93 is on a distinguished road
Hi everyone,
I need to simulate the solidification of steel.
At the moment I'm using the solver solidificationFoam, but there are some missing things:
-Communication between solid and liquid domain, ingot and ingot mold
-Thermal Shrinkage
-Viscosity variation as a function of temperature

What solver do you recommend?

Thanks in advance!
fumachi likes this.

Last edited by riccardo93; January 6, 2020 at 14:39.
riccardo93 is offline   Reply With Quote

Old   February 4, 2020, 02:46
Thumbs up meltingFoam works fine in OpenFOAM (v1912)
  #309
Member
 
Join Date: Dec 2009
Location: Kanpur, India
Posts: 49
Rep Power: 12
Shoonya is on a distinguished road
Quote:
Originally Posted by Pavithra View Post
Hi Everyone,

I am attaching the results of some validation cases, herewith.

I have attached the solver, cases and results. Any suggestions for improvements are welcome.

Thank You.

- Pavithra

Thanks Pavithra for sharing the solver meltingFoam. It works fine in the present version of OpenFOAM (v1912).

Regards
Shoonya is offline   Reply With Quote

Reply

Tags
melting openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Melting and solidification with free surface problem? cqlwj123 CFX 6 July 25, 2013 03:46
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 06:29
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Melting Problem M FLUENT 0 April 29, 2007 17:07


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