CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error while running icoFoam OpenFOAM15 (https://www.cfd-online.com/Forums/openfoam-solving/58577-error-while-running-icofoam-openfoam15.html)

skabilan July 24, 2008 19:26

Hi All, I am trying to run
 
Hi All,

I am trying to run a transient simulation with icoFoam (OpenFoam.1.5). I get the following error message. I guess I am missing a very basic concept.

Thanks in advance
Senthil

icoFoam -case weibel_2gen_icovardt_vel
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/
Exec : icoFoam -case weibel_2gen_icovardt_vel
Date : Jul 24 2008
Time : 16:22:13
Host : bigbox
PID : 23059
Case : ./weibel_2gen_icovardt_vel
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U



keyword outOfBounds is undefined in dictionary "./weibel_2gen_icovardt_vel/0/U::inlet"

file: ./weibel_2gen_icovardt_vel/0/U::inlet from line 33 to line 34.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 213.

FOAM exiting

U file:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

FoamFile
{
version 2.0;
format ascii;

root "/home/skabilan/workdir/openfoam/weibel_chop";
case "weibel_icofoamvardt_vel";
instance "0";
local "";

class volVectorField;
object U;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type timeVaryingUniformFixedValue;
fileName "inlet.dat";
}
out2
{
type zeroGradient;
}
out3
{
type zeroGradient;
}
w1
{
type fixedValue;
value uniform (0 0 0);
}
}


// ************************************************** *********************** //

mathieu July 26, 2008 23:31

Hi ! I didn't try timeVary
 
Hi !

I didn't try timeVaryingUniformFixedValue in OF 1.5 but you should take a look to this file :

~/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/fields/fvPatchFields/derived/timeVaryin gUniformFixedValue/timeVaryingUniformFixedValueFvPatchField.H

Regards,

Mathieu

mathieu July 26, 2008 23:34

And by the way, take a look at
 
And by the way, take a look at this post :

http://www.cfd-online.com/OpenFOAM_D...tml?1216363996

otsuki September 4, 2008 04:08

Hi Senthil, Please try:
 
Hi Senthil,

Please try:

(
(t0 v0)
(t1 v1)
....
)

Masato

otsuki September 4, 2008 04:16

for the case of U ( (t0
 
for the case of U

(
(t0 (ux0 uy0 uz0))
(t1 (ux1 uy1 uz1))
............
)

Masato

skabilan September 4, 2008 12:33

Hi Masato, Thanks for the i
 
Hi Masato,

Thanks for the input.

(
(t0 (ux0 uy0 uz0))
(t1 (ux1 uy1 uz1))
............
)

Format works for the velocity input. So we have decompose the velocity into corresponding components unlike OpenFOAM 1.4?

Thanks
Senthil

otsuki September 5, 2008 00:04

Hi Senthil, I am not sure t
 
Hi Senthil,

I am not sure timeVaryingUniformFixedValue in OF-1.4.1 works for U.

Masato


All times are GMT -4. The time now is 08:55.