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/)
-   -   Viscoelastic Solver (https://www.cfd-online.com/Forums/openfoam-solving/174862-viscoelastic-solver.html)

alimea July 20, 2016 03:09

Viscoelastic Solver
 
Hi friends
I've just learnt the openFoam. I solved a special problem with a newtonian fluid(water). Now, I want to solve it with a viscoelastic fluid by Oldroyd-B model. Could you please help me to do it step by step? (you know, I don't know any thing about it!)

Thanks every body

T.D. July 24, 2016 14:42

Hi,

You can look to the viscosity models already in OpenFOAM, in:
..your openfoam directory.../src/transportModels/incompressible/viscosityModels
In a shell, you can find them by typing:
/src/transportModels/incompressible/viscosityModels

Now, based on your needs you can create your new viscosity model similarly as a new library.

If difficult for you, you can also try simply at the Top-level code (directly in the openfoam solver files .H & .C)

Good Luck !

regards,
T.D.

alimea July 25, 2016 08:40

Thank you my friend

bfzah December 25, 2017 02:59

vortex in 3D channel
 
Hello
How can I form a vortex in a square-shaped channel?
Or how can I see vortices?
In all the papers, a vortex pair is seen at the corners of the channel with the Giesekus model.
How can this be modeled with open foam?
what is the properties flow ?
B.C ?

please help me?

my Email: farhadhoseinbor@gmail.com
Telegram id: @bfzah

idrees khan November 15, 2019 09:20

Quote:

Originally Posted by T.D. (Post 611132)
Hi,

You can look to the viscosity models already in OpenFOAM, in:
..your openfoam directory.../src/transportModels/incompressible/viscosityModels
In a shell, you can find them by typing:
/src/transportModels/incompressible/viscosityModels

Now, based on your needs you can create your new viscosity model similarly as a new library.

If difficult for you, you can also try simply at the Top-level code (directly in the openfoam solver files .H & .C)

Good Luck !

regards,
T.D.

Hi T.D,
kindly i have a confusion i use OpenFoam version 1812 (in this version solver and source code were in the same directory).now i need foam-extend.4.0 but where is the main source file code.(for oldroyd-B model)


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