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

plz have a look -error time dependent inlet conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2009, 05:35
Default plz have a look -error time dependent inlet conditions
  #1
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Hi There,

I am trying to have a time dependent inlet-condition.
I used the information from the threat "TimeVaryingUniformFixedValue".
(I want the velocity to raise, since pressure corretion messes up when i start up with the high velocity).

But I am stuck somehow...since I dont know how to deal with the error message.


.....
Create mesh for time = 0


Reading g
Reading thermophysical properties

Reading field T

Reading field p

Reading field U

Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 27 the doubleScalar 100000

file: /home/OpenFOAM/OpenFOAM-1.6/OWN/jetflame/V4/0/U::value at line 27.

From function Istream::readBegin(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 87.

FOAM exiting
............
the .dat file:

(
( 0.00005 ( 0 0 0.1000 ) )
( 0.00010 ( 0 0 0.2058 ) )
( 0.00015 ( 0 0 0.3116 ) )
( 0.00020 ( 0 0 0.4174 ) )
( 0.00025 ( 0 0 0.5232 ) )
( 0.00030 ( 0 0 0.6290 ) )
( 0.00035 ( 0 0 0.7348 ) )
( 0.00040 ( 0 0 0.8406 ) )
( 0.00045 ( 0 0 0.9464 ) )
( 0.00050 ( 0 0 1.0522 ) )
( 0.00055 ( 0 0 1.1580 ) )
( 0.00060 ( 0 0 1.2638 ) )
( 0.00065 ( 0 0 1.3696 ) )
( 0.00070 ( 0 0 1.4754 ) )
( 0.00075 ( 0 0 1.5812 ) )
( 0.00080 ( 0 0 1.6870 ) )
( 0.00085 ( 0 0 1.7928 ) )
( 0.00090 ( 0 0 1.8986 ) )
( 0.00095 ( 0 0 2.0044 ) )
( 0.00100 ( 0 0 2.1102 ) )
( 0.00105 ( 0 0 2.2160 ) )
( 0.00110 ( 0 0 2.3218 ) )
( 0.00115 ( 0 0 2.4276 ) )
( 0.00120 ( 0 0 2.5334 ) )
( 0.00125 ( 0 0 2.6392 ) )
( 0.00130 ( 0 0 2.7450 ) )
( 0.00135 ( 0 0 2.8508 ) ) // line 27 (starting to count from 0)
( 0.00140 ( 0 0 2.9566 ) )
( 0.00145 ( 0 0 3.0624 ) )
( 0.00150 ( 0 0 3.1682 ) )
( 0.00155 ( 0 0 3.2740 ) )
( 0.00160 ( 0 0 3.3798 ) )
( 0.00165 ( 0 0 3.4856 ) )
( 0.00170 ( 0 0 3.5914 ) )
( 0.00175 ( 0 0 3.6972 ) )
( 0.00180 ( 0 0 3.8030 ) )
( 0.00185 ( 0 0 3.9088 ) )
( 0.00190 ( 0 0 4.0146 ) )
( 0.00195 ( 0 0 4.1204 ) )
...........

I cant find a missing "(" and there is no value "100000" ->
Any Ideas????


regards
heavy_user is offline   Reply With Quote

Old   December 18, 2009, 07:48
Default
  #2
Member
 
Julien Schaguene
Join Date: Apr 2009
Location: France
Posts: 55
Rep Power: 17
Schag is on a distinguished road
"Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 27 the doubleScalar 100000

file: /home/OpenFOAM/OpenFOAM-1.6/OWN/jetflame/V4/0/U::value at line 27."

The Error is in the 0/U file, maybe you can show us this one.
Schag is offline   Reply With Quote

Old   December 18, 2009, 08:35
Default
  #3
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 17
heavy_user is on a distinguished road
Quote:
Originally Posted by Schag View Post
"Expected a '(' while reading VectorSpace<Form, Cmpt, nCmpt>, found on line 27 the doubleScalar 100000

file: /home/OpenFOAM/OpenFOAM-1.6/OWN/jetflame/V4/0/U::value at line 27."

The Error is in the 0/U file, maybe you can show us this one.

Hi Schag,

thx for the answer!!

Ich checked the U file again and tryed things... now it seems to work...(but i ran into other probs , thats why it is called CFD (coloured frustration dynamics :-) ) )

I used the information from:
http://www.idurun.com/?p=506

Where they use:

inlet
{
type timeVaryingUniformFixedValue;
timeDataFileName "inlet.dat";
value uniform 1e5;
}

I used:

inlet-gas
{
type timeVaryingUniformFixedValue;
fileName "inlet.dat";
value uniform 1e5;
outOfBounds clamp;
}

OF seems not to like :
value uniform 1e5;
I removed it and now it seems to be running..

THX a lot!

P.S.:
I had to add the
outOfBounds clamp;
to continue simulation after specified data from "input.dat"..
i found info here : http://albertopassalacqua.com/?p=69
heavy_user is offline   Reply With Quote

Reply


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
Velocity inlet boundary conditions abm FLUENT 16 October 18, 2014 09:52
recomendations for impellor inlet conditions PaulBosauder Main CFD Forum 0 August 4, 2009 18:57
time dependent inlet subroutine. HELP!!! jimmer Siemens 4 November 10, 2008 09:49
user soubroutine of inlet boundary conditions Charlie Beghein Siemens 2 August 30, 2002 03:03
Inlet and Outlet Boundary conditions for LES Jan Ramboer Main CFD Forum 12 August 6, 1999 23:00


All times are GMT -4. The time now is 12:40.