|
[Sponsors] |
positive value for concentration shall be the result of a field but ??? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 19, 2019, 08:36 |
positive value for concentration shall be the result of a field but ???
|
#1 |
New Member
siamak rafizadeh
Join Date: May 2018
Posts: 8
Rep Power: 8 |
Hi
Dear Foamer's I simply changed bouyantbuossinesqueSimpleFoam solver to write bonjiorno Model for nanofluid Heat Transfer. In this new solver which named as Mixedbonj, Temperature Equation changed to adopt bonjiorno's Model Also Concentration equation named as "V" added. My problem is that in field V Negative value obtained for some cells and I have no idea what to do ? can anyone Help with this ISSUE ? code and case uploaded solver source: http://www.mediafire.com/file/fe5kxc...dbonj.zip/file case Source: http://www.mediafire.com/file/vmw8zq.../case.zip/file my OF is Version 6. Please help on finding whats wrong with this solver Thanks in Advance |
|
August 20, 2019, 11:05 |
More Information added
|
#2 |
New Member
siamak rafizadeh
Join Date: May 2018
Posts: 8
Rep Power: 8 |
I find out that with low Temperature Difference As 5 degrees of Celsius No negative value derived, with 10 degree Temp diff only 3 cells show negative value on boundary. with 20 degrees 15 cells have Negative Value and with 40 degrees Difference many cells(about 150 cells) on boundary have negative value and Also adjacent cells on internal field had negative Value So I guess that the way is to treat boundary value of V "Concentration VolScalarField" that if any cells have Negative Value it will be replaced with Zero the question is How ?
thanks for your Time |
|
August 20, 2019, 12:06 |
|
#3 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Having negative values for a passive scalar is common when using some unbounded schemes. Try using bounded scheme like limitedLinear or van Leer as follows to suppress the negative values: div(phi,V) Gauss vanLeer01; This way, you limit the scalar value essentially between 0 and 1 in the entire domain. Regards, Syavash |
||
August 20, 2019, 12:46 |
|
#4 | |
New Member
siamak rafizadeh
Join Date: May 2018
Posts: 8
Rep Power: 8 |
Quote:
Thanks for your suggestion but it did not work ALso I think this is not a passive scalar because it can change value of Temperature Field( a little) if it Counts on considering this field as Active one. I appreciate for helps on finding other solution |
||
August 20, 2019, 13:09 |
|
#5 | |
Senior Member
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
Regards, Syavash |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[SOWFA] NREL SOWFA ABLTerrainSolver tutorial problem | cico0815 | OpenFOAM Community Contributions | 36 | February 3, 2022 12:54 |
How to get cell indices and manipulate field data | ch1 | OpenFOAM Programming & Development | 5 | September 25, 2019 12:17 |
OpenFOAM floating point Error | upuli | OpenFOAM Programming & Development | 5 | June 20, 2016 04:19 |
conservative form twoPhaseEulerFoam23x gives an unsatisfactory velocity result. | sharonyue | OpenFOAM Running, Solving & CFD | 12 | April 10, 2016 00:30 |
Using sample to Inlet velocity field | amanbearpig | OpenFOAM Running, Solving & CFD | 14 | November 16, 2015 06:47 |