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

LTSInterfoam-Setting Fields

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

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 30, 2012, 04:04
Talking LTSInterfoam-Setting Fields
  #1
New Member
 
Alessandro Pani
Join Date: Jul 2012
Posts: 21
Rep Power: 13
Dr.Faustus is on a distinguished road
Hi to everybody... i'm founding some difficulties to find documentation about setFieldsDict for LTSInterFoam... in particular i've to set the vof value at a certain height above the bottom...
I've tried to write setFiledDict as the file posted... with 2 zones corresponding to values 1 and 0 of alpha1... but when launching LTSInterFoam te following errors comes out:

Code:
--> FOAM FATAL IO ERROR: 
size 15000 is not equal to the given value of 706530

file: /media/04095B560627AED8/tutorial_foam/wigley2/0/alpha1 from line 18 to line 15349.

    From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
    in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C at line 236.
any idea?
Thanks
Attached Files
File Type: txt setFieldsDict.txt (1.2 KB, 6 views)
Dr.Faustus is offline   Reply With Quote

Old   July 30, 2012, 04:20
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
Probably the 0/alpha1 file is already set for a different mesh. Try this with an unset alpha1 file (that is, no lists). If you then run setFields -time 0, it will probably work.
Dr.Faustus likes this.
Bernhard is offline   Reply With Quote

Old   July 30, 2012, 05:05
Default
  #3
New Member
 
Alessandro Pani
Join Date: Jul 2012
Posts: 21
Rep Power: 13
Dr.Faustus is on a distinguished road
Ok,i've found the mistake
i had runned the setFields before coping the mesh...
Thanks

P:s.
i've edited the setFieldsDict as posted, seems to work better..
Attached Files
File Type: txt setFieldsDict.txt (1.1 KB, 11 views)

Last edited by Dr.Faustus; July 31, 2012 at 02:07.
Dr.Faustus 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
Missing fields in reconstructPar flowris OpenFOAM 1 July 9, 2010 02:48
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
PostChannel maka OpenFOAM Post-Processing 5 July 22, 2009 09:15
Ultra high temperature? bk Siemens 2 July 19, 2005 00:01
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 17:23.