|
[Sponsors] |
PLEASE EXPLAIN: why reactingFoam is not outputting viscosity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 8, 2016, 17:31 |
PLEASE EXPLAIN: why reactingFoam is not outputting viscosity
|
#1 |
Member
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 11 |
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 |
|
December 8, 2016, 18:33 |
|
#2 |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11 |
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 05:11. |
|
December 8, 2016, 22:01 |
|
#3 | |
Member
Sheikh Ahmed
Join Date: Dec 2015
Location: South Carolina, USA
Posts: 88
Rep Power: 11 |
Quote:
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. |
||
Tags |
density, reactingfoam, sutherlandslaw, viscosity |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 04:51 |
Problem in convergence regarding constant viscosity and UDF related Viscosity. | alexskerhut | FLUENT | 0 | May 9, 2016 09:43 |
modelling solids viscosity in eulerian multiphase model | derkaiser | FLUENT | 1 | December 5, 2011 04:42 |
Power - Law Viscosity Model for Polymers | NickolasPl | OpenFOAM | 2 | August 12, 2011 09:26 |
Turbulence viscosity limited | Madhukar Rapaka | FLUENT | 0 | June 26, 2006 04:17 |