View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000655OpenFOAM[All Projects] Bugpublic2012-10-04 13:452012-10-04 17:47
ReporterJLight 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLinuxOSArchLinuxOS VersionN/A
Product Version2.1.1 
Target VersionFixed in Version 
Summary0000655: The patch maxwellSlipUFvPatchVectorField (rhoCentralFoam) writes the boundary data in old format
DescriptionWhen 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 Reproduce1) 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 InformationThe 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
TagsNo tags attached.
Attached Filespatch file icon fixmaxwellSlipU.patch [^] (694 bytes) 2012-10-04 13:45 [Show Content]

- Relationships

-  Notes
(0001700)
henry (manager)
2012-10-04 17:47

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.

- Issue History
Date Modified Username Field Change
2012-10-04 13:45 JLight New Issue
2012-10-04 13:45 JLight 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