|
[Sponsors] |
Bounded implicit interFoam (0 1), how to make it work!!!!??? is it possible? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 24, 2015, 17:32 |
Bounded implicit interFoam (0 1), how to make it work!!!!??? is it possible?
|
#1 |
Member
Mahmoud Aboukhedr
Join Date: Feb 2014
Location: London
Posts: 40
Rep Power: 12 |
Dear Foamrs,
I started working with the MULES::implicitSolve in (interFoam) few month ago for some case depend restrictions. The code used in the alphaEqu.H is Code:
MULES::implicitSolve ( alpha1, phi, phiAlpha, 1, 0 ); In fact I had tried everthing to make it bounded to 0 and 1 (changing everthing, (mesh, schemes, BC) nothing works. I followed the work posted in ; HTML Code:
http://www.cfd-online.com/Forums/openfoam-solving/115137-alpha1-grows-unbounded-interdymfoam.html Code:
volScalarField Su ( IOobject ( "Su", runTime.timeName(), mesh ), divU*alpha1 ); MULES::implicitSolve ( alpha1, phi, phiAlpha, Su, 1, 0 ); Code:
alphaEqn.H: In function ‘int main(int, char**)’: alphaEqn.H:49:9: error: no matching function for call to ‘implicitSolve(Foam::volScalarField&, Foam::surfaceScalarField&, Foam::surfaceScalarField&, Foam::volScalarField&, int, int)’ alphaEqn.H:49:9: note: candidates are: In file included from /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:87:0, from myInterFoamVOFSmooth.C:47: /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULESTemplates.C:59:6: note: template<class RhoType, class SpType, class SuType> void Foam::MULES::implicitSolve(const RhoType&, Foam::volScalarField&, const surfaceScalarField&, Foam::surfaceScalarField&, const SpType&, const SuType&, Foam::scalar, Foam::scalar) /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULESTemplates.C:59:6: note: template argument deduction/substitution failed: In file included from alphaEqnSubCycle.H:19:0, from myInterFoamVOFSmooth.C:100: alphaEqn.H:49:9: note: cannot convert ‘phi’ (type ‘Foam::surfaceScalarField {aka Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>}’) to type ‘Foam::volScalarField& {aka Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&}’ In file included from myInterFoamVOFSmooth.C:47:0: /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:70:6: note: void Foam::MULES::implicitSolve(Foam::volScalarField&, const surfaceScalarField&, Foam::surfaceScalarField&, Foam::scalar, Foam::scalar) /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:70:6: note: candidate expects 5 arguments, 6 provided In file included from alphaEqnSubCycle.H:27:0, from myInterFoamVOFSmooth.C:100: alphaEqn.H:49:9: error: no matching function for call to ‘implicitSolve(Foam::volScalarField&, Foam::surfaceScalarField&, Foam::surfaceScalarField&, Foam::volScalarField&, int, int)’ alphaEqn.H:49:9: note: candidates are: In file included from /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:87:0, from myInterFoamVOFSmooth.C:47: /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULESTemplates.C:59:6: note: template<class RhoType, class SpType, class SuType> void Foam::MULES::implicitSolve(const RhoType&, Foam::volScalarField&, const surfaceScalarField&, Foam::surfaceScalarField&, const SpType&, const SuType&, Foam::scalar, Foam::scalar) /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULESTemplates.C:59:6: note: template argument deduction/substitution failed: In file included from alphaEqnSubCycle.H:27:0, from myInterFoamVOFSmooth.C:100: alphaEqn.H:49:9: note: cannot convert ‘phi’ (type ‘Foam::surfaceScalarField {aka Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>}’) to type ‘Foam::volScalarField& {aka Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&}’ In file included from myInterFoamVOFSmooth.C:47:0: /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:70:6: note: void Foam::MULES::implicitSolve(Foam::volScalarField&, const surfaceScalarField&, Foam::surfaceScalarField&, Foam::scalar, Foam::scalar) /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/IMULES.H:70:6: note: candidate expects 5 arguments, 6 provided In file included from myInterFoamVOFSmooth.C:68:0: /home/ofoam/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable] make: *** [Make/linux64GccDPOpt/myInterFoamVOFSmooth.o] Error 1 I will appreciate the help, Mahmoud |
|
January 22, 2016, 07:03 |
|
#2 |
Member
Camille Bilger
Join Date: Jul 2013
Posts: 43
Rep Power: 12 |
Hey Mahmoud,
Did you make this work? Camille |
|
February 4, 2016, 11:10 |
|
#3 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
Hi mahmoud,
Do you try to change your maximum unboundness in fvSolution/alpha1? it's work for me in interPhaseChangeFoam. |
|
February 17, 2016, 13:27 |
|
#4 | |
Member
Camille Bilger
Join Date: Jul 2013
Posts: 43
Rep Power: 12 |
Quote:
Hi rapierrz, In fvSolution/alpha1, what is the flag you would use to set the maximum unboundedness? I am not seeing any/I'm mising out on something. Thanks Camille |
||
November 15, 2017, 12:06 |
|
#5 |
New Member
Hao Zeng
Join Date: Mar 2017
Posts: 8
Rep Power: 9 |
Hi Mahmoud,
Do you solve the problem? I'm also facing this problem with unbounded alpha1. Hao |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 15:26 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory | wenterodt | OpenFOAM Installation | 52 | June 26, 2009 17:01 |
GAMBIT can't make it work. | Achilleas | FLUENT | 0 | December 30, 2006 14:21 |
a way to make lots of money quick and easy no lies | Dob | Main CFD Forum | 0 | October 10, 2006 16:45 |