|
[Sponsors] |
melting problem: looking for appropriate solvers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 23, 2019, 07:46 |
|
#301 |
New Member
Join Date: Jun 2017
Posts: 9
Rep Power: 0 |
making appropriate required physical changes should do
|
|
December 23, 2019, 08:10 |
|
#302 |
New Member
d durga prasad
Join Date: Nov 2019
Posts: 5
Rep Power: 7 |
Sir, can I know what are all the changes to be done?
|
|
December 23, 2019, 08:12 |
|
#303 |
New Member
Join Date: Jun 2017
Posts: 9
Rep Power: 0 |
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..
|
|
December 23, 2019, 08:16 |
|
#304 |
New Member
d durga prasad
Join Date: Nov 2019
Posts: 5
Rep Power: 7 |
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.
|
|
December 23, 2019, 08:20 |
|
#305 |
New Member
Join Date: Jun 2017
Posts: 9
Rep Power: 0 |
post your results and error ...
|
|
January 5, 2020, 07:37 |
|
#306 |
New Member
Riccardo Nati
Join Date: Dec 2019
Posts: 4
Rep Power: 7 |
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! Last edited by riccardo93; January 6, 2020 at 14:39. |
|
February 4, 2020, 02:46 |
meltingFoam works fine in OpenFOAM (v1912)
|
#307 | |
Member
Join Date: Dec 2009
Location: Kanpur, India
Posts: 54
Rep Power: 17 |
Quote:
Thanks Pavithra for sharing the solver meltingFoam. It works fine in the present version of OpenFOAM (v1912). Regards |
||
May 8, 2020, 13:25 |
please
|
#308 | |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
Quote:
|
||
August 13, 2020, 08:25 |
request
|
#309 | |
New Member
|
Quote:
I want to cool a heat sink by butting it on the wax, just like your problem. May I have your code? would you please send it to my email? aerospace1365@gmail.com |
||
August 13, 2020, 18:03 |
request
|
#310 | |
New Member
|
Quote:
I have a case that should be solved by your solver. I have a heat sink (fins) located in wax. the wax will melt and cool the fins. do you think this solver can solve this problem? my Gmail is aerospace1365@gmail.com. I am looking forward to hearing from you. regards |
||
December 17, 2020, 09:42 |
OF8 solidificationMeltingSource with erf
|
#311 |
New Member
Kai Salscheider
Join Date: Aug 2018
Posts: 13
Rep Power: 8 |
Hello all,
I want to port the solidification solver to OF8 to utilize the tabulated thermophysicalProperties in my bachelor's thesis. "solidificaitionMeltingSource" looked like a good starting point to me, so I changed the "update" and "apply" functions according to the formulation in Fabian Röslers Solver and made some minor changes like deleting alpha1e and relax factor. The code is attached in the tar file. --- Question 1: Is there missing a negative sign in the paper in equation 10? In the uploaded solver post 19 there is an additional negative sign in the upper numerator of TEqn, as noted in the equation snippet below. Implementation according to the paper throws a floating point exception error. --- I ran some cases but the results are terrible as can be seen in the attached picture (as in the paper the timesteps 2, 6, 10 and 17 min are plotted). The melt front is way too fast and doesn't show curving like the results from the paper. Out of curiosity I tested the standard implemented linear fvOption with some cranked up numerics and ran the same settings again for the erf fvOption:
--- Question 2: Does anybody have an idea where this behavior comes from? I even programmed it a second time from the scratch to avoid typos, but the results were the same. And this doesn't explain the behavior of the linear model as well. --- For post processing of the melt front run "pvpython writeMeltFront.py" in the case directory and point plotMeltFront.py to meltFrontPosition directory in corresponding case directory. I left the results in the myCases cases for an easy first impression. Thanks in advance and have a nice day! Last edited by Skaiwalker; December 18, 2020 at 04:34. Reason: Added information about model parameters, edited graph to show time and wording of question 2 |
|
December 18, 2020, 08:50 |
|
#312 |
New Member
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
Hello Kai,
Regarding your first question: the derivative of is , so I think yes there should be a minus in equation 10. And regarding your second question. The erf-Solver is rather mediocre. Even if everything is implemented correctly you will need a very small time step, since the very strong non-linearity of the equation is not handled properly. You can take a look at: https://www.mdpi.com/1996-1073/12/5/868 for a better implementation. Best, Moritz |
|
January 7, 2021, 10:59 |
|
#313 |
New Member
Kai Salscheider
Join Date: Aug 2018
Posts: 13
Rep Power: 8 |
Hello again forum!
Moritz posted an interesting approach, I will look further into it. But in the mean time, does anyone of you have an Idea where especially the deviation of the linear model comes from? Thanks in advance! |
|
January 15, 2021, 04:55 |
|
#314 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18 |
Hi,
This is my first post since years. The erf function was the first more or less running version we developed at the thermodynamics chair in Bayreuth. The more sophisticated version is in my PhD thesis. The latest version seems to be the one in Moritz's article. I had no time to reed through the article yet and I'm out of this topic since 7 years . What deviation do you mean? Cheers Fabian |
|
January 19, 2021, 03:55 |
|
#315 |
New Member
Kai Salscheider
Join Date: Aug 2018
Posts: 13
Rep Power: 8 |
Hi Fabian,
thanks for your reply, I received your PhD thesis yesterday and it looks very helpful from what I've read until now! Especially the parts about sinking solid and literature review. The deviation I'm talking about are the more narrow expansion in x of the linear model compared to yours and Brent and Voller's simulations and what is the most significant difference in my opinion is the shape of the phase front. The more "wave-like" character up until 360 s and the pronounced bulge from then on. But I missed a paper Moritz sent me in an E-Mail which explains these results, shame on me Hannoun et al. published "Resolving the controversy over tin and gallium melting in a rectangular cavity heated from the side" and state, that Brent and Voller's results are not grid-converged. So the positions of vortexes are wrong and in the early stages of the simulation, when vortexes are small, they are not resolved at all. Further the experiment of Gau and Viskanta drained the fluid portion to measure the phase position, so we have different bc's in the experiment and in the simulation. I will look into your thesis for the theory behind phase change but most likely adopt Moritz's approach because it is the most advanced and computational cost may be reduced. |
|
January 19, 2021, 05:54 |
kOmegaSSTIDDES in OpenFOAM-v2012(pisoFoam)
|
#316 |
New Member
Vincy
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
Hi:
Has anyone encountered the following problems? I guess the boundary conditions are set incorrectly? But I have tried many, still have this problem. --> FOAM FATAL ERROR: (openfoam-2012) Attempt to cast type calculated to type nutWallFunction at index 2 From To& Foam::refCast(From&, Foam::label) [with To = const Foam::nutWallFunctionFvPatchScalarField; From = const Foam::fvPatchField<double>; Foam::label = int] in file /home/user2/OpenFOAM/OpenFOAM-v2012/src/OpenFOAM/lnInclude/typeInfo.H at line 162. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::exitOrAbort(int, bool) at ??:? #2 Foam::nutWallFunctionFvPatchScalarField::nutw(Foam ::turbulenceModel const&, int) at ??:? #3 Foam:megaWallFunctionFvPatchScalarField::calcula te(Foam::turbulenceModel const&, Foam::List<double> const&, Foam::fvPatch const&, Foam::Field<double>&, Foam::Field<double>&) at ??:? #4 Foam:megaWallFunctionFvPatchScalarField::calcula teTurbulenceFields(Foam::turbulenceModel const&, Foam::Field<double>&, Foam::Field<double>&) at ??:? #5 Foam:megaWallFunctionFvPatchScalarField::updateC oeffs() at ??:? #6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::updateCoeffs() at ??:? #7 Foam::kOmegaSSTBase<Foam::LESModels:ESModel<Foam ::IncompressibleTurbulenceModel<Foam::transportMod el> > >::correct() at ??:? #8 ? at ??:? #9 __libc_start_main in /lib64/libc.so.6 #10 ? at ??:? Aborted (core dumped) Thanks in advance |
|
January 22, 2021, 07:33 |
Thesis
|
#317 | |
Member
Join Date: Nov 2020
Posts: 53
Rep Power: 6 |
Quote:
|
||
January 22, 2021, 08:19 |
|
#318 | |
New Member
Vincy
Join Date: Jan 2021
Posts: 3
Rep Power: 5 |
Quote:
I have solved this problem, my boundary conditions are set incorrectly, mainly because I have to be careful about the setting of inlet, outlet and wall. |
||
January 23, 2021, 06:30 |
Question about the parallel calculation
|
#319 |
New Member
Join Date: Sep 2019
Posts: 18
Rep Power: 7 |
Hi everyone
I want to cpuple interfoam and the solidification model to simulate the droplet freezing. Thus I put the T equation in the interFoam solver and compiled. The solver works fine in serial mode. But when I run in parallel. There is error: ////////////////////////////////////////////////////////////////////////////// Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(224).....................: MPI_Recv(buf=0x1da60c0, count=6400, MPI_BYTE, src=8, tag=1, comm=0x84000002, status=0x7ffec83b2e40) failed MPIDI_CH3U_Receive_data_found(131): Message from rank 8 and tag 1 truncated; 19200 bytes received but buffer size is 6400 Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(224).....................: MPI_Recv(buf=0x18748a0, count=6400, MPI_BYTE, src=10, tag=1, comm=0x84000002, status=0x7ffe00c99a10) failed MPIDI_CH3U_Receive_data_found(131): Message from rank 10 and tag 1 truncated; 19200 bytes received but buffer size is 6400 Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(224).....................: MPI_Recv(buf=0x236adb0, count=6400, MPI_BYTE, src=11, tag=1, comm=0x84000002, status=0x7ffd32387010) failed MPIDI_CH3U_Receive_data_found(131): Message from rank 11 and tag 1 truncated; 19200 bytes received but buffer size is 6400 Fatal error in MPI_Recv: Message truncated, error stack: MPI_Recv(224).....................: MPI_Recv(buf=0x2a4f080, count=6400, MPI_BYTE, src=9, tag=1, comm=0x84000002, status=0x7ffd606c04e0) failed MPIDI_CH3U_Receive_data_found(131): Message from rank 9 and tag 1 truncated; 19200 bytes received but buffer size is 6400 ////////////////////////////////////////////////////////////////////////////////// the attachmen is the T Equation file. Can someone know the reason why this error happens |
|
January 24, 2021, 22:34 |
Error in parallel runnnig
|
#320 |
New Member
Join Date: Sep 2019
Posts: 18
Rep Power: 7 |
Hello, everyone, have you succeeded in running cases in parallel when using the fabian_roesler code. I have followed fabian_roesler's code and it is successful in serial running but failed in paralleling running. I do not know the reason. Have someone met and fixed this problem?
|
|
Tags |
melting openfoam |
|
|
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 |