|
[Sponsors] |
New solver for two-phase flows with phase-change heat transfer |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 19, 2016, 12:54 |
|
#21 |
New Member
ali
Join Date: Jun 2016
Posts: 10
Rep Power: 10 |
hi liquidspoon.
i am interested using your code in foam-extend-3.1. but i received the attached error. could you help me. thanks a lot |
|
November 23, 2018, 11:25 |
|
#22 |
Member
fa
Join Date: Nov 2013
Posts: 30
Rep Power: 13 |
Hello
I have downloded your solver and I am trying to use it with openFoam v6 I have errors dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:148:38: error: ‘const class Foam::dynamicKistlerAlphaContactAngleFvPatchScalar Field’ has no member named ‘dimensionedInternalField’; did you mean ‘patchInternalField’? << " of field " << this->dimensionedInternalField().name() ^~~~~~~~~~~~~~~~~~~~~~~~ The code does not recognise dimensionedInternalField I change it to patchInternalField and I have a new error now dynamicKistlerAlphaContactAngle/dynamicKistlerAlphaContactAngleFvPatchScalarField. C:148:59: error: ‘class Foam::tmp<Foam::Field<double> >’ has no member named ‘name’ << " of field " << this->patchInternalField().name() The code does not like name and objectpath Can you advice? |
|
July 24, 2019, 19:48 |
installation problem with interThermalPhaseChangeFoam
|
#23 |
Member
FaRa
Join Date: Jul 2019
Posts: 33
Rep Power: 7 |
Hello everyone. I wanted Install this solver in windows 10 for linux subsystem with OpenFoam-v1906. But I am getting the following error. How can I fix this error? Thank you.
Code:
fahmida@DESKTOP-9VUVGL4:~/OpenFOAM/OpenFOAM-v1906/CFD-PC/interThermalPhaseFoam$ source Allwmake.sh wmake libso incompressibleTwoPhaseThermalMixture /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file '/home/fahmida/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/CFD-PC/interThermalPhaseFoam/incompressibleTwoPhaseThermalMixture/sourceFiles' could not be created in /home/fahmida/OpenFOAM/OpenFOAM-v1906/CFD-PC/interThermalPhaseFoam/incompressibleTwoPhaseThermalMixture wmake interThermalPhaseChangeFoam /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file '/home/fahmida/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/CFD-PC/interThermalPhaseFoam/interThermalPhaseChangeFoam/sourceFiles' could not be created in /home/fahmida/OpenFOAM/OpenFOAM-v1906/CFD-PC/interThermalPhaseFoam/interThermalPhaseChangeFoam wmake libso DynamicKistlerContactAngle /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 456: make: command not found /home/fahmida/OpenFOAM/OpenFOAM-v1906/wmake/wmake: line 459: make: command not found wmake error: file '/home/fahmida/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/CFD-PC/interThermalPhaseFoam/Libraries/DynamicKistlerContactAngle/sourceFiles' could not be created in /home/fahmida/OpenFOAM/OpenFOAM-v1906/CFD-PC/interThermalPhaseFoam/Libraries/DynamicKistlerContactAngle Last edited by Fahmida; August 22, 2019 at 17:01. |
|
January 23, 2020, 11:17 |
|
#24 | |
New Member
Peng Xie
Join Date: Nov 2015
Posts: 4
Rep Power: 11 |
Please modify the Allwmake.sh file:
delete libso in the "wmake libso incompressibleTwoPhaseThermalMixture" that is change wmake libso incompressibleTwoPhaseThermalMixture to wmake incompressibleTwoPhaseThermalMixture For OpenFoam-v1906 or other new versions, Compile library no longer need libso in the script. Quote:
|
||
January 23, 2020, 18:10 |
|
#25 |
New Member
Peng Xie
Join Date: Nov 2015
Posts: 4
Rep Power: 11 |
delete libso in the Allwmake.sh script :
wmake libso incompressibleTwoPhaseThermalMixture |
|
January 23, 2020, 18:16 |
|
#26 |
New Member
Peng Xie
Join Date: Nov 2015
Posts: 4
Rep Power: 11 |
delete libso in the Allwmake.sh script :
wmake libso incompressibleTwoPhaseThermalMixture |
|
January 23, 2020, 18:49 |
|
#27 |
Member
FaRa
Join Date: Jul 2019
Posts: 33
Rep Power: 7 |
Thank you. I am gonna try this and get back to you.☺
|
|
January 23, 2020, 19:28 |
|
#28 | |
New Member
Peng Xie
Join Date: Nov 2015
Posts: 4
Rep Power: 11 |
Quote:
Have you solved the problem? I meet the same problem... |
||
July 2, 2020, 06:15 |
|
#29 |
Senior Member
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11 |
I updated the interThermalPhaseFoam sovler to openFOAM v6 some time ago, but forgot to post it here.
The code is found here https://github.com/Swagga5aur/interThermalPhaseFoam, note that interfaceSigmaProperties have been added compared to the original solver due to changes between the openfoam versions. This library contains some removed parameters. Let me know if there are any issues, I haven't had time to test the solver only compiled it without errors. |
|
August 21, 2020, 11:27 |
|
#30 |
New Member
M Naarendharan
Join Date: Aug 2020
Posts: 21
Rep Power: 6 |
Hi Lasse Brams Vinther,
I am Naarendharan from India. I am currently working with solver interThermalPhaseChangeFoam for my study of nucleate boiling. I saw your post in the thread "New solver for two-phase flows with phase-change heat transfer". I tried downloading and compiling the solver updated by you. I tried in 2 versions of OpenFOAM. 1. Windows subsystem for Linux -Ubuntu: 18.04 LTS; OpenFOAM version: v2006. 2. Dual Boot (In another system) - Ubuntu: 18.04 LTS; OpenFoam version: v6 I am attaching the screenshot of the errors. I would be very much grateful if you could help me with this error. https://drive.google.com/drive/folde...yR?usp=sharing Thanking you, Yours Faithfully, M Naarendharan, |
|
September 7, 2020, 04:29 |
Tutorial gives dimension errors?
|
#31 | |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
Quote:
Hi Swagga5aur. Thanks for the upgrade to OF6. I downloaded and compiled your code. Seems to compile without errors. I tried to run a tutorial from the repo (OF2.4 MadhuNabil/CFD/PC), Im getting a dimension error. I noticed you mentioned, the interfaceSigmaProperties have been added. Can this be the issue? What update does the tutorial need? thanks for your time Fran Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: Operating solver in PISO mode Reading field p_rgh Reading field alpha1 Reading field U Reading/calculating face flux field phi Reading field T Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting incompressible thermal transport model Fourier Selecting incompressible thermal transport model Fourier Selecting turbulence model type laminar Selecting laminar stress model Stokes Selecting phase change model: InterfaceEquilibrium_SplitDilatation --> FOAM FATAL ERROR: Different dimensions for = dimensions : [0 0 -1 0 0 0 0] = [0 3 -1 0 0 0 0] |
||
September 8, 2020, 18:25 |
|
#32 |
Senior Member
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11 |
Hello Francisco,
I'm unable to get to the same point as you with the case, could you please verify that it works to the same point. The more you do the more I will have time to help with your actual issue. I am able to run the Stefan case when removing the function call in controlDict and moving the blockMesh file from constant to system. |
|
September 10, 2020, 03:34 |
dimension errors?
|
#33 |
Member
Francisco T
Join Date: Nov 2011
Location: Melbourne, Australia
Posts: 64
Blog Entries: 1
Rep Power: 15 |
Hi Lasse, thanks for your reply and thanks in advance for your time.
Im able to run Stefan case. Im interested in the NucleateBoiling2D as Im interested in the kislter dynamic angle library. By some reason Im unable to install swak4foam in OF6, but I have it running on OF7. Therefore mesh generation is done in OF7. Then I need I also update Axis bc in alpha, H, p_rgh, T, U, to symmetry instead of symmetryPlane type symmetry; //symmetryPlane; I guess this change is need because of the version update. I can see the mesh and fields in paraview without error. Then, when running interThermalPhaseChangeFoam I get the errow below: Also, Im getting the same error on a 3D case (droplet impacting a surface case also attached) Duplicate entry interfaceCompression in runtime selection table surfaceInterpolationScheme #0 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x49) [0x7fb6118070b9] #1 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(_ZN4Foam26surfaceInterpo lationSchemeIdE25addMeshConstructorToTableINS_9Phi SchemeIdNS_27interfaceCompressionLimiterEEEEC2ERKN S_4wordE+0x100) [0x7fb6143a4a40] #2 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(+0x2a460) [0x7fb614369460] #3 /lib64/ld-linux-x86-64.so.2(+0x11b8a) [0x7fb61443ab8a] #4 /lib64/ld-linux-x86-64.so.2(+0x11c91) [0x7fb61443ac91] #5 /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7fb61442a13a] Duplicate entry interfaceCompression in runtime selection table surfaceInterpolationScheme #0 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x49) [0x7fb6118070b9] #1 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(_ZN4Foam26surfaceInterpo lationSchemeIdE29addMeshFluxConstructorToTableINS_ 9PhiSchemeIdNS_27interfaceCompressionLimiterEEEEC2 ERKNS_4wordE+0x100) [0x7fb6143a50f0] #2 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(+0x2a488) [0x7fb614369488] #3 /lib64/ld-linux-x86-64.so.2(+0x11b8a) [0x7fb61443ab8a] #4 /lib64/ld-linux-x86-64.so.2(+0x11c91) [0x7fb61443ac91] #5 /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7fb61442a13a] Duplicate entry interfaceCompression in runtime selection table limitedSurfaceInterpolationScheme #0 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x49) [0x7fb6118070b9] #1 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(_ZN4Foam33limitedSurface InterpolationSchemeIdE25addMeshConstructorToTableI NS_9PhiSchemeIdNS_27interfaceCompressionLimiterEEE EC2ERKNS_4wordE+0x100) [0x7fb6143a57a0] #2 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(+0x2a4b0) [0x7fb6143694b0] #3 /lib64/ld-linux-x86-64.so.2(+0x11b8a) [0x7fb61443ab8a] #4 /lib64/ld-linux-x86-64.so.2(+0x11c91) [0x7fb61443ac91] #5 /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7fb61442a13a] Duplicate entry interfaceCompression in runtime selection table limitedSurfaceInterpolationScheme #0 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam5error14safePrintStackERSo+ 0x49) [0x7fb6118070b9] #1 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(_ZN4Foam33limitedSurface InterpolationSchemeIdE29addMeshFluxConstructorToTa bleINS_9PhiSchemeIdNS_27interfaceCompressionLimite rEEEEC2ERKNS_4wordE+0x100) [0x7fb6143a5e50] #2 /home/fran/OpenFOAM/OpenFOAM-6/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so(+0x2a4d8) [0x7fb6143694d8] #3 /lib64/ld-linux-x86-64.so.2(+0x11b8a) [0x7fb61443ab8a] #4 /lib64/ld-linux-x86-64.so.2(+0x11c91) [0x7fb61443ac91] #5 /lib64/ld-linux-x86-64.so.2(+0x113a) [0x7fb61442a13a] /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 6 Exec : interKFoam Date : Sep 10 2020 Time : 13:07:48 Host : "roverx230" PID : 33522 I/O : uncollated Case : /home/fran/OpenFOAM/fran-6/run/tutorials_thermal/NucleateBoiling2D nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: Operating solver in PISO mode Reading field p_rgh Reading field alpha1 Reading field U Reading/calculating face flux field phi Reading field T Reading transportProperties Selecting incompressible transport model Newtonian Selecting incompressible transport model Newtonian Selecting incompressible thermal transport model Fourier Selecting incompressible thermal transport model Fourier Selecting turbulence model type laminar Selecting laminar stress model Stokes Selecting phase change model: InterfaceEquilibrium_SplitDilatation --> FOAM FATAL ERROR: Different dimensions for = dimensions : [0 0 -1 0 0 0 0] = [0 3 -1 0 0 0 0] From function bool Foam::dimensionSet:perator=(const Foam::dimensionSet&) const in file dimensionSet/dimensionSet.C at line 171. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::dimensionSet:perator=(Foam::dimensionSet const&) const at ??:? #3 Foam:imensionedField<double, Foam::volMesh>:perator=(Foam::tmp<Foam:imensio nedField<double, Foam::volMesh> > const&) in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #4 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #5 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #6 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #7 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #8 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 ? in "/home/fran/OpenFOAM/fran-6/platforms/linux64GccDPInt32Opt/bin/interKFoam" Aborted (core dumped) (base) fran@roverx230:~/OpenFOAM/fran-6/run/tutorials_thermal/NucleateBoiling2D$ .2(+0x11c91) [0x7fa33f629c91] bash: syntax error near unexpected token `+0x11c91' (base) fran@roverx230:~/OpenFOAM/fran-6/run/tutorials_thermal/NucleateBoiling2D$ #5/lib64/ld-linux-x86-64.so.2(+0x113a) [0x7fa33f61913a] (base) fran@roverx230:~/OpenFOAM/fran-6/run/tutorials_thermal/NucleateBoiling2D$ Duplicate entry interfaceCompression in runtime selection table surfaceInterpolationSc |
|
June 10, 2021, 22:32 |
|
#34 | |||
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
I wanted to compil the code but I faced the following error: Quote:
Also if I deactivate the mentioned line, I will face the following error: Quote:
Thanks Last edited by alimea; June 11, 2021 at 03:07. |
||||
June 11, 2021, 03:18 |
|
#35 |
Senior Member
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11 |
Hello Alimea,
I just want to check first, you are using openfoam foundation version 6 right? |
|
June 11, 2021, 03:19 |
|
#36 |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
||
June 12, 2021, 04:41 |
|
#37 | |
Senior Member
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12 |
Quote:
Excuse me, another question: I just want to compile this solver to use the dynamic contact angle in another solver. Is it possible? If yes, can I compile it without the mentioned error? Thanks |
||
September 8, 2021, 14:20 |
|
#38 |
Senior Member
Lasse Brams Vinther
Join Date: Oct 2015
Posts: 118
Rep Power: 11 |
Hello Alimea,
to use the dynamic contact angle in another solver you would have to copy the solver, add the contact angle sub model and compile it as a new solver. Let me know if you need more assistance. |
|
December 10, 2021, 06:23 |
|
#39 | |
Member
Join Date: Apr 2019
Location: India
Posts: 81
Rep Power: 7 |
Quote:
Have you solved this issue.? Could you please help me with it? I am facing the same problem, as you. Thank You. |
||
Tags |
interfoam, phase change |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Effective heat capacity - Phase change does not work!!! | papteo | CFX | 8 | October 31, 2013 06:15 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Which Code is Best for Two Phase, Heat Transfer | earlc | Main CFD Forum | 0 | September 23, 2005 21:26 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
help needed about phase change | Yanhu Guo | Main CFD Forum | 4 | January 24, 2001 00:16 |