|
[Sponsors] |
Adding new temperature dependent viscosity model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2015, 10:34 |
Adding new temperature dependent viscosity model
|
#1 |
Member
VA
Join Date: Mar 2015
Location: ON, Canada
Posts: 30
Rep Power: 11 |
Hello FOAMers,
I am trying to add a new viscosity model that is dependent on temperature. I was able to successfully compile the model. It works fine with geometries that have just one domain/region. However, when I try extending it to multi-regions, the model fails. In this case, the viscosity gets updated before the first step (based on my model) but it doesn't get updated after that i.e. during each time-step in the simulation. I have a fluid region surrounded by four solid regions. I have attached a pdf to illustrate this. I ran a test problem with just one region and printed the viscosity values at each time-step, and it does get updated correctly. I am struggling to see what needs to be modified in order to get this model working with multi-region geometry. I have attached the code for the viscosity model. Thanks! Last edited by vabishek; May 15, 2015 at 10:36. Reason: Forgot to attach a file |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 09:21 |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 07:15 |
Time and temperature dependent viscosity | sur4j | OpenFOAM | 16 | January 12, 2015 00:56 |
Herschel-Bulkley non-Newtonian viscosity model has term with sign error | pbryant | OpenFOAM Bugs | 5 | June 18, 2013 23:53 |
Regarding Implementation of Hershel Bulkley Model in Viscosity correlation | Pathak | FLOW-3D | 0 | August 24, 2009 06:34 |