CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

problem with internal field and nonuniform list

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2009, 06:20
Default problem with internal field and nonuniform list
  #1
OFU
New Member
 
Jennifer
Join Date: Aug 2009
Location: Germany
Posts: 28
Rep Power: 16
OFU is on a distinguished road
Hello all,
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 time
Create mesh for time = 0
Reading thermodynamicProperties
Reading transportProperties
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.
FOAM exiting

When I looked into the constant/polyMesh/boundary file, it says:
...
bottom
{
type empty;
nFaces 11250;
startFace 22295;
top
{
type empty;
nFaces 11250;
startFace 33545;
}
...
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
Jennifer
OFU is offline   Reply With Quote

Old   October 5, 2009, 04:35
Default
  #2
Member
 
lord_kossity's Avatar
 
Andreas Dietz
Join Date: Mar 2009
Location: Munich
Posts: 79
Rep Power: 17
lord_kossity is on a distinguished road
Hi Jennifer,

it seems like you have specified too many values for your U internalField.

That's what OpenFOAM tells you
Quote:
size 23092 is not equal to the given value of 11250
lord_kossity is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Temperature field to IcoFoam yapalparvi OpenFOAM Programming & Development 14 November 19, 2015 05:57


All times are GMT -4. The time now is 01:52.