CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   consult some questions about the interPhaseChangeFoam (http://www.cfd-online.com/Forums/openfoam-solving/79636-consult-some-questions-about-interphasechangefoam.html)

super August 30, 2010 01:26

consult some questions about the interPhaseChangeFoam
 
Hello,everyone:

I'm very interested in the cavitation flow around airfoil. Furthermore, I want to use the interPhaseChangeFoam solver in the directory of application. But I can't understand how to set the three files of 0、constant and system ? Could you give me some advice about it? Or some Tutorials about the cavitaion flow.
thank you very much!

sabin.ceuca September 1, 2010 11:46

Tutorial
 
Hi there you can find a tutorial for this solver here http://www.tfd.chalmers.se/~hani/kur...ChangeFoam.pdf
chalmers is the right address for many solvers ;)
best regards

nimasam September 3, 2010 22:12

and what version of openFoam do you use ?
you can find a case study in openFoam 1.6.x and later

vahid.najafi March 1, 2012 20:34

Singhal models in myinterPhasechangeFoam
 
My purpose is adding Zwart and Singhal models to interPhaseChangeFoam solver.
I transform Saur model to Zwart model successfully but transforming Saur model to Singhal model is faild!!!
my error is :

phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C:48: error: no matching function for call to ‘Foam::dimensioned<double>::dimensioned()’

Can you help me???

nimasam March 2, 2012 02:55

Quote:

Foam::dimensioned<double>::dimensioned()
there is no such function in OpenFOAM, maybe you want a dimensionedField or a dimensionedScalar or ......

vahid.najafi March 2, 2012 12:05

dimension?
 
thanks for your idea,but i need more Explanation about it!!!:(

nimasam March 2, 2012 13:57

:)
dear vahid
whats your variable type?

vahid.najafi June 6, 2012 23:48

please help me...
 
Hello dear foames,
I have an easy question, i wanna add the kinetic Turbulence energy (k) in model <<Sauer>> for solver <<interPhaseChangeFoam>>. For this purpose, after adding turbulence library in the option file, for introducing “k” in the Sauer model, this parameter is added as the follow

// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //

Foam::tmp<Foam::volScalarField>
Foam::phaseChangeTwoPhaseMixtures::SchnerrSauer::r Rb
(
const volScalarField& limitedAlpha1
) const
{
return pow
(
((k_*4*constant::mathematical::pi*n_)/3)
*limitedAlpha1/(1.0 + alphaNuc() - limitedAlpha1),
1.0/3.0
);
}


when I execute wmake in terminal ,this error is appeared.

phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C:79: error: ‘k_’ was not declared in this scope
make: *** [Make/linux64GccDPOpt/SchnerrSauer.o] Error 1

could everyone to tell me the steps of how to add the kinetic energy in the Sauer model so that after any iteration, new updated value is entered to this model ?

Regards

nimasam June 7, 2012 15:03

where do you define K_ ?
it should be read from somewhere :D

abe April 8, 2013 07:25

Hi,
I am using InterPhaseChange solver to simulate cavitation in OF2.1x
Although by old versions (i.e. OF1.5) I can get good results, with this new version results are not good at all. Dose anybody else get similar conflicts?

ABE


All times are GMT -4. The time now is 08:50.