CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   V2f turbulence model (https://www.cfd-online.com/Forums/openfoam-solving/58440-v2f-turbulence-model.html)

braennstroem October 22, 2008 10:35

Hi, I am trying to convert
 
Hi,

I am trying to convert the provide v2f model to the new 1.5 version;
until now with not to much success:

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif v2f.tar.gz

lnInclude/RASModel.H: In static member function 'static Foam::autoPtr<foam::incompressible::rasmodel> Foam::incompressible::RASModel::adddictionaryConst ructorToTable<rasmodeltype>::New(const Foam::volVectorField&, const Foam::surfaceScalarField&, Foam::transportModel&) [with RASModelType = Foam::incompressible::RASModels::DurbinV2F]':
lnInclude/RASModel.H:140: instantiated from 'Foam::incompressible::RASModel::adddictionaryCons tructorToTable<rasmodeltype>::adddictionaryConstru ctorToTable(const Foam::word&) [with RASModelType = Foam::incompressible::RASModels::DurbinV2F]'
DurbinV2F/DurbinV2F.C:44: instantiated from here
lnInclude/RASModel.H:129: error: cannot allocate an object of abstract type 'Foam::incompressible::RASModels::DurbinV2F'
DurbinV2F/DurbinV2F.H:58: note: because the following virtual functions are pure within 'Foam::incompressible::RASModels::DurbinV2F':
lnInclude/RASModel.H:269: note: virtual Foam::tmp<foam::geometricfield<foam::symmtensor<do uble>, Foam::fvPatchField, Foam::volMesh> > Foam::incompressible::RASModel::devReff() const
lnInclude/RASModel.H:272: note: virtual Foam::tmp<foam::fvmatrix<foam::vector<double> > > Foam::incompressible::RASModel::divDevReff(Foam::v olVectorField&) const
make: *** [Make/linux64GccDPOpt/DurbinV2F.o] Error 1

Does anyone know, what my mistake is?

Fabian

niklas October 22, 2008 10:57

could be because you havent de
 
could be because you havent defined the virtuals
devReff and divDevReff

braennstroem October 22, 2008 11:14

Hi Niklas, thanks, yes I fo
 
Hi Niklas,

thanks, yes I forgot those virtuals... stupid, it's actually in the message.

http://www.cfd-online.com/OpenFOAM_D...hment_icon.gif v2f.tar.gz

Fabian

ivan_cozza May 29, 2009 10:22

Hi Fabian,
did you succeed to code the v2f model in 1.5 version?
Have any test case to learn how to set up it?
Thank you...

idrama March 11, 2010 13:55

Has anybody a v2f version for OpenFOAM-1.6

sandy August 1, 2010 11:30

Quote:

Originally Posted by idrama (Post 249585)
Has anybody a v2f version for OpenFOAM-1.6

Hi idrama, did you get the v2f version for OF-1.6? Could you send a copy to me?

In addition, according to its "Notes" in the website: http://www.cfd-online.com/Wiki/V2-f_models , can this model be used to solve the Phase-change problem?


sandy August 3, 2010 04:18

I got the version ...

idrama August 5, 2010 02:44

Did you get the source? If so, could you send it to me or send me the link?

Cheers

bb_ August 23, 2010 08:09

Hello,

could anybody please tell me how to install the V2F model for OpenFoam-1.5-dev? I downloaded the sources using the above link but now I don't actually know how to proceed...

Thanks!

jitendra September 14, 2010 03:47

v2f model
 
can u tell me what is the exact meaning of v2f turbulence model.
What are its application, presently wahat is the international status of this, and what are the importance of this.Reply me soon .

thanking you

qtian316 April 12, 2011 15:15

Hello, all,

Does anyone has v2-f turbulence model implemented in OpenFoam 1.7.1? I had source code for 1.4 and having trouble to compile it. Can anyone share it with me? Thanks a lot.

Quinn

Alhasan January 6, 2012 15:06

hey,sandy
can you please send the link from where you got the source for v2f model, i wanna get it in my v2.0 :)
thank you

lakeat January 18, 2012 19:45

Hi,

Two questions:

1. Has anyone written the zeta-f code?
2. How to set the wall b.c condition for v2 and f?

Alhasan February 15, 2012 12:26

they are downloading as a unk. file... how do you even open them...

lakeat February 15, 2012 12:34

You can have whatever extension you want, whatever name you want, it doesn't change any contents in the file.

In a word, just use any tar software to untar it as usual, that's it.

Alhasan February 15, 2012 12:36

I'm having troubles even opening it... :(... on top of that i need to compile a v2f model for open foam v.2.0 ...... :(

Alhasan February 15, 2012 12:38

hey sorry i managed to open it... .. now any good ideas for compiling it in open foam v2.0

lakeat February 15, 2012 12:40

Quote:

Originally Posted by Alhasan (Post 344625)
hey sorry i managed to open it... .. now any good ideas for compiling it in open foam v2.0

As usual.
Read the manual before ask, please

Alhasan February 15, 2012 13:52

parallels@ubuntu:~/Desktop/DurbinV2F$ wmake libso
linux64GccDPOpt/options:10: *** missing separator. Stop.
wmake error: file 'Make/linux64GccDPOpt/objectFiles' could not be created in /home/parallels/Desktop/DurbinV2F

Alhasan February 15, 2012 13:53

any idea... :)


All times are GMT -4. The time now is 00:21.