|
[Sponsors] |
January 8, 2014, 14:22 |
Dimensioned Scalar Help
|
#1 |
New Member
Join Date: Jul 2012
Posts: 13
Rep Power: 14 |
I am solving a transport equation ddt(n)+div(n,U)=0 for a ciruclar density area. As it transport the density begins to break up. We have fixed this by inputing a diffusion coefficient into the equation making it ddt(n)+div(n,u)-k*laplacian(n)=0, where k is defined as a dimensioned scalar. The issue is that at k=10,000 the diffusion works and the density does not break up but if i increase it to k=100,000 the density structures again. Ive compared it to the case where k=0 and they look identical. Is there a maximum value for a dimensioned scalar that i am hitting when i increase k from 10,000 to 100,000? If so how can i make that value larger?
|
|
January 9, 2014, 03:23 |
|
#2 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
ddt(n)+div(n,U) is not the way to implement a scalar transport equation in OpenFOAM. You would need ddt(n)+(phi,n). Have a look at the scalarTransportFoam solver.
|
|
January 9, 2014, 12:34 |
|
#3 |
New Member
Join Date: Jul 2012
Posts: 13
Rep Power: 14 |
The transport equation is working correctly (i just mistyped it) i just need help with understanding what a dimensioned scalar is. It seems like im maxing out the value possible for a dimensioned scalar since it works for 10000 but not 100000.
|
|
Tags |
dimensionedscalar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
FATAL ERROR:Maximum number of iterations exceeded | zqlhzx | OpenFOAM Running, Solving & CFD | 4 | July 13, 2016 16:53 |
dieselFoam problem!! trying to introduce a new heat transfer model | vivek070176 | OpenFOAM Programming & Development | 10 | December 24, 2014 00:48 |
compressible flow in turbocharger | riesotto | OpenFOAM | 50 | May 26, 2014 02:47 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |