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

PLEASE EXPLAIN: why reactingFoam is not outputting viscosity

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2016, 16:31
Default PLEASE EXPLAIN: why reactingFoam is not outputting viscosity
  #1
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Dear all
I am using reactingFoam for one of my flame simulations. But I dont know why it is not spitting out properties like viscosity as an output. The viscosity is a function of temperature from Sutherland law (used in this version of the solver). I posted a similar thread and found an answer from Dominic that I have to change in the createFields.H the "NO_WRITE" option to "AUTO_WRITE" to spit out the density . But there is no viscosity field there.
Could anyone PLEASE explain the reason why the viscosity is not spitting out in the output and if I can make a similar field for viscosity (like density) in the createFields.H to output the viscosity.
Your kind help is highly appreciated.
Thanks
sahmed is offline   Reply With Quote

Old   December 8, 2016, 17:33
Default
  #2
Senior Member
 
sheaker's Avatar
 
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 10
sheaker is on a distinguished road
Hello.
createFields.H is a header file. As I know You need to recompile your solver first.

Example thread:
How to compile a new solver in OpenFOAM-2.1.0?


Edit:
I'm sorry Aseikh Ahmed. English isn't my native language and I misunderstand Your question. I just thought You change it but viscosity still doesn't output.

Last edited by sheaker; December 9, 2016 at 04:11.
sheaker is offline   Reply With Quote

Old   December 8, 2016, 21:01
Default
  #3
Member
 
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 10
sahmed is on a distinguished road
Quote:
Originally Posted by sheaker View Post
Hello.
createFields.H is a header file. As I know You need to recompile your solver first.

Example thread:
How to compile a new solver in OpenFOAM-2.1.0?
Hello Oskar
Actually I recompiled the solver with the modification in createFields.H to include the rho in the output and its working fine. But my question is, can I do the same procedure as I did for rho to spit out the viscosity? Please enlighten me if I miss something.
sahmed is offline   Reply With Quote

Reply

Tags
density, reactingfoam, sutherlandslaw, viscosity


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
New Viscosity Model - Best Practice for Temporary Values MaSch OpenFOAM Programming & Development 6 March 16, 2018 03:51
Problem in convergence regarding constant viscosity and UDF related Viscosity. alexskerhut FLUENT 0 May 9, 2016 08:43
modelling solids viscosity in eulerian multiphase model derkaiser FLUENT 1 December 5, 2011 03:42
Power - Law Viscosity Model for Polymers NickolasPl OpenFOAM 2 August 12, 2011 08:26
Turbulence viscosity limited Madhukar Rapaka FLUENT 0 June 26, 2006 03:17


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