|
[Sponsors] |
No change in phase change using interPhaseChangeFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 27, 2015, 09:35 |
|
#21 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
I did compile it as well but doesnt work...
could you send me your case only not the code if you do not mind... I can try my code in your working case thanks in advance!!! |
|
May 27, 2015, 10:42 |
|
#22 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
why not test it like they did in the tutorial, by removing the bullet from the cavitatingBullet case and setting a temperature BC?
I don't have access to my case files right now.
__________________
Mihai Pruna's Bio |
|
May 27, 2015, 10:47 |
|
#23 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi,
I did the test with their tutorial...when I set the alpha=0, then nothing is changing and alpha remains always zero which is wrong right? But when I put some value to alpha like 0.00001, it seems it does something... did you try to give alpha=0 for initial condition? Thanks! |
|
May 27, 2015, 11:46 |
|
#24 |
Senior Member
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16 |
no, I had initial alpha=1.I was modeling boiling.
How many time steps did you run it for?
__________________
Mihai Pruna's Bio |
|
May 27, 2015, 12:02 |
|
#25 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
I run for 0.05s...
did you read the master thesis Roman Thiele? he modified it with different models for condensation... what do you think? are you still interested in this topic? thanks! |
|
June 1, 2015, 07:19 |
|
#26 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
HI,
I modified the solver so called interPhaseChangeFoam by following the instructions form Andersen tutorial...Is is work fine with cavitaingBullet case but not in simple pipe flow..it gives me following message: Code:
Selecting phaseChange model SchnerrSauer Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting turbulence model type laminar Reading transportProperties Calculating field g.h PIMPLE: Operating solver in PISO mode time step continuity errors : sum local = 1.15855e-05, global = -1.19144e-16, cumulative = -1.19144e-16 GAMG: Solving for pcorr, Initial residual = 1, Final residual = 3.48266e+19, No Iterations 50 GAMG: Solving for pcorr, Initial residual = 0.965555, Final residual = 1.08509e+21, No Iterations 50 time step continuity errors : sum local = 4.51124e+35, global = -1.41141e+28, cumulative = -1.41141e+28 Courant Number mean: 3.09991e+35 max: 5.41686e+38 Starting time loop Courant Number mean: 0.00057227 max: 1 deltaT = 1.84609e-47 Time = 1.84609e-47 #0 Foam::error::printStack(Foam::Ostream&) in "/usr/local/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/usr/local/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 at sigaction.c:0 #3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/usr/local/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #6 in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #7 in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #8 in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #9 in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" #10 __libc_start_main in "/lib64/libc.so.6" #11 in "/home/links/rek209/OpenFOAM/rek209-2.1.0/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam" Floating point exception And BC I have used : Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 1e5; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value $internalField; } hot_wall { type zeroGradient; } ocold_wall { type zeroGradient; } icold_wall { type zeroGradient; } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object alpha1; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type fixedValue; value uniform 0.00001; } outlet { type inletOutlet; inletValue $internalField; } walls { type symmetry; } } // ************************************************************************* // Thanks in advance! Last edited by wyldckat; June 12, 2015 at 19:42. Reason: Changed [PHP][/PHP] to [CODE][/CODE] |
|
June 2, 2015, 07:58 |
|
#27 |
Senior Member
Join Date: May 2011
Posts: 231
Rep Power: 16 |
Hi,
is there anybody interested in my problem? |
|
June 12, 2015, 19:44 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Please follow the instructions given on this thread: http://www.cfd-online.com/Forums/ope...-get-help.html
Otherwise, most people will not even invest time in asking you for more information |
|
September 10, 2019, 16:19 |
The solver for OpenFOAMŪ v1806
|
#29 |
New Member
Milad Bagheri
Join Date: May 2019
Posts: 5
Rep Power: 7 |
Hello everyone,
I know this is an old thread, nevertheless I would like to share the solver here. I hope it is useful for someone. You can download it from my GitHub: https://github.com/MiladBagheri/Nume...ng-Regimes.git You may also check some of the videos I made using this solver to simulate different boiling regimes. https://www.youtube.com/channel/UCif...AINBMI_rFifgVA |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help for simulation phase change | sudni | COMSOL | 0 | January 17, 2014 03:47 |
homogeneous free surface flow with phase change. | Niru | CFX | 13 | December 26, 2013 11:27 |
Pressure Outlet for phase change simulation | dinesh | FLUENT | 0 | November 22, 2013 00:50 |
Solid/liquid phase change | fabian_roesler | OpenFOAM | 10 | December 24, 2012 07:37 |
Two phase flow with phase change | Ahmad Al-Zoubi | CFX | 1 | November 26, 2008 04:59 |