problem with internal field and nonuniform list
I tried to set up a case to run sonicFoam. In the file 0/U I want to specifiy a nonuniform list for the internal field.
But I don't understand how many points to put in this list and where I get these points. So I took all the points from the /constant/polyMesh/points/files, calculated the values in Excel and then copied them into the internalField.
When I tried to run the case I got the following error message:
Create mesh for time = 0
Reading field p
Reading field T
Calculating field e from T
Reading field U
size 23092 is not equal to the given value of 11250
file: /home/dekuhlj/OpenFOAM/dekuhlj-1.5/run/case-sonicFoam/0/U from line 17 to line 23150.
From function Field<Type>::Field(const word& keyword, const dictionary& dict, const label s)
in file /home/dekuhlj/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Field.C at line 224.
When I looked into the constant/polyMesh/boundary file, it says:
Sorry for this stupid question, but I'm new to OpenFoam and don't know what to to know and where to get the right points.
It would be nice if someone could help me! Thanks
it seems like you have specified too many values for your U internalField.
That's what OpenFOAM tells you
|All times are GMT -4. The time now is 18:22.|