View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000028 | OpenFOAM | Bug | public | 2010-09-06 21:56 | 2010-09-13 17:37 |
Reporter | albertop | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | OpenSuse | OS Version | 11.3 |
Summary | 0000028: Inconsistency in twoPhaseEulerFoam nuEffa | ||||
Description | After the improvements to twoPhaseEulerFoam commit b71c9ffcba91fa57f201273693b4d47c56cf0ecd Date: Fri Sep 3 19:12:58 2010 +0100 ENH: Improvments to twoPhasesEulerFoam and kinetic theory there is an inconsistency in UEqn.H for phase a. The effective viscosity nuEffa used in Rca initialization is inconsistent with the one used in phiRa, since it is updated in the if statement. A patch is attached which moves the initialization of Rca after the if statement. Best, Alberto | ||||
Tags | Modelling, Solver | ||||
|
UEqns.H.patch (742 bytes)
*** UEqns.H 2010-09-05 21:22:27.175381992 -0500 --- UEqnsPatched.H 2010-09-06 15:53:47.426940167 -0500 *************** *** 4,14 **** { { volTensorField gradUaT = fvc::grad(Ua)().T(); - volTensorField Rca - ( - "Rca", - ((2.0/3.0)*I)*(sqr(Ct)*k + nuEffa*tr(gradUaT)) - nuEffa*gradUaT - ); if (kineticTheory.on()) { --- 4,9 ---- *************** *** 19,24 **** --- 14,25 ---- { nuEffa = sqr(Ct)*nutb + nua; } + + volTensorField Rca + ( + "Rca", + ((2.0/3.0)*I)*(sqr(Ct)*k + nuEffa*tr(gradUaT)) - nuEffa*gradUaT + ); if (kineticTheory.on()) { |
|
The initialization has been placed in the correct place 1.7.x commit 2db9810e9b17b950b9f36fdda68da20ec9514af1 |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-09-06 21:56 | albertop | New Issue | |
2010-09-06 21:56 | albertop | File Added: UEqns.H.patch | |
2010-09-07 09:23 |
|
Assigned To | => user21 |
2010-09-07 09:23 |
|
Status | new => assigned |
2010-09-07 09:40 |
|
Assigned To | user21 => |
2010-09-07 09:44 |
|
Note Added: 0000025 | |
2010-09-07 09:44 |
|
Status | assigned => resolved |
2010-09-07 09:44 |
|
Fixed in Version | => 1.7.x |
2010-09-07 09:44 |
|
Resolution | open => fixed |
2010-09-07 09:44 |
|
Assigned To | => user21 |
2010-09-07 10:01 |
|
Note Edited: 0000025 | |
2010-09-13 17:37 |
|
Tag Attached: Modelling | |
2010-09-13 17:37 |
|
Tag Attached: Solver |