setFields失败是怎么回事呢?
-
FoamFile { version 2.0; format ascii; class dictionary; location “system”; object setFieldsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // defaultFieldValues ( volScalarFieldValue T 0 ); regions ( sphereToCell { centre (0.0 0.0 0.0); radius 1; fieldValues ( volScalarFieldvalue T 1 ); } );
Create time Create mesh for time = 0 Reading setFieldsDict Setting field default values Setting internal values of volScalarField T Setting field region values Adding cells with centre within sphere, with centre = (0 0 0) and radius = 1 --> FOAM Warning : From function Foam::autoPtr<setCellField> setCellField::iNew::operator()(Foam::Istream&) const in file setFields.C at line 174 field type volScalarFieldvalue not currently supported --> FOAM Warning : From function Foam::autoPtr<setCellField> setCellField::iNew::operator()(Foam::Istream&) const in file setFields.C at line 174 field type T not currently supported --> FOAM FATAL IO ERROR: wrong token type - expected word, found on line 27 the label 1 file: .sphereToCell.fieldValues at line 27. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::word&) in file primitives/strings/word/wordIO.C at line 74. FOAM exiting
2018年10月10日 01:58
2/3
2018年10月10日 03:33