View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000655 | OpenFOAM | Bug | public | 2012-10-04 13:45 | 2012-10-04 17:47 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | ArchLinux | OS Version | N/A |
Summary | 0000655: The patch maxwellSlipUFvPatchVectorField (rhoCentralFoam) writes the boundary data in old format | ||||
Description | When using the maxwellSlipUFvPatchVectorField the refValue and valueFraction have missing keywords 'nonuniform' in them. The consequence of this is when one continues the run the solver rhoCentralFoam, the solver reports a Fatal error. A fix to is edit the file maxwellSlipUFvPatchVectorField.C . I have attached a patch file of the fix ( I am not very experience in using diff and not aware of the format you may prefer it in. Was obtained using diff -Nur ActualDir/Old New. Hope it is of some help. | ||||
Steps To Reproduce | 1) Apply the maxwellSlipU to wall BC 2) Run case with rhoCentralFoam until t=X 3) Try continue run with rhoCentralFoam to t=X+DX rhoCentralFoam will give the a fatal error. | ||||
Additional Information | The error shown is: --> FOAM FATAL IO ERROR: Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 166446 the label 200 file: /home/jlight/CFD/DSTO/MainWork/Wire_OF_New/1.000000e-12/U::boundaryField::wire::refValue at line 166446. From function Istream::readBegin(const char*) in file db/IOstreams/IOstreams/Istream.C at line 94. FOAM exiting | ||||
Tags | No tags attached. | ||||
2012-10-04 13:45
|
fixmaxwellSlipU.patch (694 bytes)
--- ../../../rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C 2011-11-25 03:59:50.000000000 +1100 +++ maxwellSlipUFvPatchVectorField.C 2012-10-04 22:30:46.318141418 +1000 @@ -194,11 +194,9 @@ os.writeKeyword("thermalCreep") << thermalCreep_ << token::END_STATEMENT << nl; os.writeKeyword("curvature") << curvature_ << token::END_STATEMENT << nl; - - os.writeKeyword("refValue") - << refValue() << token::END_STATEMENT << nl; - os.writeKeyword("valueFraction") - << valueFraction() << token::END_STATEMENT << nl; + + refValue().writeEntry("refValue", os); + valueFraction().writeEntry("valueFraction", os); writeEntry("value", os); } |
|
Thanks for the bug-report Resolved by commit dcf4840a51ee2a6352337d86c4dcea5a38aefd96 > I am not very experience in using diff and not aware of the format you may > prefer it in For these kinds of changes it is best if you supply the updated file/files rather than diff's so that the changes can more easily be applied to other versions of OpenFOAM. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-04 13:45 |
|
New Issue | |
2012-10-04 13:45 |
|
File Added: fixmaxwellSlipU.patch | |
2012-10-04 17:47 | henry | Note Added: 0001700 | |
2012-10-04 17:47 | henry | Status | new => resolved |
2012-10-04 17:47 | henry | Resolution | open => fixed |
2012-10-04 17:47 | henry | Assigned To | => henry |