CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

consult some questions about the interPhaseChangeFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2010, 02:26
Question consult some questions about the interPhaseChangeFoam
  #1
New Member
 
zhangmo
Join Date: Aug 2010
Posts: 2
Rep Power: 0
super is on a distinguished road
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!
super is offline   Reply With Quote

Old   September 1, 2010, 12:46
Default Tutorial
  #2
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
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
sabin.ceuca is offline   Reply With Quote

Old   September 3, 2010, 23:12
Default
  #3
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
and what version of openFoam do you use ?
you can find a case study in openFoam 1.6.x and later
nimasam is offline   Reply With Quote

Old   March 1, 2012, 20:34
Default Singhal models in myinterPhasechangeFoam
  #4
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
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???
vahid.najafi is offline   Reply With Quote

Old   March 2, 2012, 02:55
Default
  #5
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
Quote:
Foam::dimensioned<double>::dimensioned()
there is no such function in OpenFOAM, maybe you want a dimensionedField or a dimensionedScalar or ......
nimasam is offline   Reply With Quote

Old   March 2, 2012, 12:05
Default dimension?
  #6
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
thanks for your idea,but i need more Explanation about it!!!
vahid.najafi is offline   Reply With Quote

Old   March 2, 2012, 13:57
Default
  #7
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road

dear vahid
whats your variable type?
nimasam is offline   Reply With Quote

Old   June 7, 2012, 00:48
Default please help me...
  #8
Member
 
vahid
Join Date: Feb 2012
Location: Mashhad-Iran
Posts: 80
Rep Power: 13
vahid.najafi is an unknown quantity at this point
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:haseChangeTwoPhaseMixtures::SchnerrSauer::r Rb
(
const volScalarField& limitedAlpha1
) const
{
return pow
(
((k_*4*constant::mathematical:i*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
vahid.najafi is offline   Reply With Quote

Old   June 7, 2012, 16:03
Default
  #9
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
where do you define K_ ?
it should be read from somewhere
nimasam is offline   Reply With Quote

Old   April 8, 2013, 08:25
Default
  #10
abe
Member
 
ABE
Join Date: Jul 2012
Posts: 46
Rep Power: 14
abe is on a distinguished road
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
abe is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug about MULES::implicitSolve for interPhaseChangeFoam in OF-1.6 chiven OpenFOAM Bugs 18 April 18, 2013 23:56
NACA0012 Validation Case Questions ozzythewise Main CFD Forum 3 August 3, 2010 15:39
So many questions in DPM & UDF - Help! URGENT! Prashanth FLUENT 0 March 3, 2009 23:26
Questions about CFD Lebeau alexandre Main CFD Forum 1 April 6, 1999 15:23
turbulence modeling questions llowen Main CFD Forum 3 September 11, 1998 05:24


All times are GMT -4. The time now is 22:57.