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

Viscosity-related ODE not solved correctly in a Taylor-Couette flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2014, 04:24
Default Viscosity-related ODE not solved correctly in a Taylor-Couette flow
  #1
mk1
New Member
 
Join Date: Jul 2014
Posts: 2
Rep Power: 0
mk1 is on a distinguished road
Hello everyone and thanks for taking the time to help me out.

I'm new to OpenFoam and I'm currently interested in applying
different kinds of viscosity models in a Taylor-Couette flow (see the Mesh.pdf in the attachments). The mesh itself seems ok (checkMesh ok) and an incompressible Newtonian liquid flow using icoFoam yields sensible results in this geometry.

However, implementing a new solver (see viscousLambdaIcoFoam.C) using
the nonNewtonianIcoFoam as a starting point has proven difficult. In essence, I want the viscosity to be time-dependent. I approached the problem by designating "Lambda" as an uniformly valued field in the
case file (see Lambda, createFields.H. "fixedWalls" denotes the outer cylinder (stator) and "movingWall" the inner cylinder (rotor)) and assigning an ODE to this in the solver to induce evolution in time. An effective viscosity based on the updated values of Lambda is then calculated directly in the solver and inserted into the UEqn
in viscousLambdaIcoFoam.C. The solver compiles without problems.

However, in doing so, two problems seem to emerge. First off, regardless of what solver I specify in the fvSolution for Lambda, the solver always
displays "diagonal" as the solver used for Lambda (see viscousLambdaIcoFoam.log). Secondly, I do not know if the ODE for Lambda is actually solved correctly (or at all), since the solutions seem bizarre to say the least (see Lambda_t_0_001.pdf. x=0 in this Fig. is the rotor, x=0.0011 the stator and time=0.001 s) as the "stairs" seen in the results certainly should not exist. Any ideas on what's going on?

Any help is much appreciated!
Attached Files
File Type: zip data.zip (7.2 KB, 17 views)
File Type: pdf Lambda_t_0_001.pdf (74.3 KB, 16 views)
File Type: pdf Mesh.pdf (57.2 KB, 19 views)
mk1 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
parallel code samiam1000 SU2 3 March 25, 2013 04:55
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31
Flow visualization vs. Calculated flow patterns Francisco Saldarriaga Main CFD Forum 1 August 2, 1999 23:18
length scales at inlet for internal flows Anne-Marie Giroux Main CFD Forum 3 July 5, 1999 21:28
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 05:18


All times are GMT -4. The time now is 20:46.