|
[Sponsors] |
March 29, 2015, 20:13 |
creepin flow with a new viscosity model
|
#1 |
New Member
jafar
Join Date: Jul 2014
Posts: 16
Rep Power: 12 |
Dear Freeads
i am new in open foam,i want to analysis creeping flow( in steady state case) around cylinder ,i want to use a new viscosity model to calculate apparent viscosity. how can i add a new viscosity model? which solver should be used? |
|
April 7, 2015, 04:03 |
|
#4 |
Member
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 14 |
The shear stress tensor is calculated by
1. Define a volTensorField named "tau" in your createFields.H 2. Add the following line to your solver Code:
tau = -mu*(fvc::grad(U)+(fvc::grad(U)).T()); |
|
April 14, 2015, 16:14 |
|
#5 |
New Member
jafar
Join Date: Jul 2014
Posts: 16
Rep Power: 12 |
Thanking for reply
i added that line to my solver ,when i run below message coming Error nu was not declared in this scope mu should be returned by viscosity model . |
|
April 15, 2015, 11:57 |
|
#6 |
Member
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 14 |
In the tutorial nu is accessed by
Code:
Foam::tmp<Foam::volScalarField>Foam::singlePhaseTransportModel::nu() const { return viscosityModelPtr_->nu(); } |
|
July 4, 2015, 21:08 |
calculate shear rate for creeping flow around cylider
|
#7 |
New Member
jafar
Join Date: Jul 2014
Posts: 16
Rep Power: 12 |
Dear
I add a new viscosity model named "Zhu" to my problem by ,but when i run the code i got some error (in file error( attachment)).i also want to compare shear rate with yeld stressse but i dont know where should i do it.i attach my problem and new viscosity model.please help. thanks jafar |
|
Tags |
crepping flow, cylinders, drag force, new viscosity model, openfoam2.3 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help: apply B.C. in my granular flow model ? | Derek Jing | FLUENT | 1 | January 8, 2020 22:38 |
coefficient of power-Law viscosity Model in OpenFOAM | Daniel_Khazaei | OpenFOAM Running, Solving & CFD | 6 | April 5, 2016 05:23 |
parallel code | samiam1000 | SU2 | 3 | March 25, 2013 05:55 |
Baldwin-Lomax model in wall jet flow | K.S.Chang | Main CFD Forum | 0 | December 7, 2005 02:51 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |