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/)
-   -   problem with alpha in running (https://www.cfd-online.com/Forums/openfoam-solving/145149-problem-alpha-running.html)

bgane67 November 29, 2014 11:22

problem with alpha in running
 
i want to simulate droplet pich off in a nuzzle which is above a cylinder,but when solve my example with interfoam my error is:
Operating solver in PISO mode

Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/niloofar/Desktop/nuzzle1/0/alpha.water at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.









my alpha1 folder is :
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type zeroGradient;
}
fixedWall
{
type zeroGradient;
}
axis
{
type zeroGradient;
}
front
{
type wedge;
}
back
{
type wedge;
}
}


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





and my setfieldsDict is :
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object setFieldsDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

defaultFieldValues
(
volScalarFieldValue alpha1 0
);

regions
(
boxToCell
{
box (0 0 0) (1 0.5 0);
fieldValues
(
volScalarFieldValue alpha1 1
);
}
);


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



my p-rgh is:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


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

internalField uniform 0;

boundaryField
{
inlet
{
type fixedValue;
value uniform 0.0001;
}
outlet
{
type fixedValue;
value uniform 0;
}

fixedWall
{
type zeroGradient;
}
axis
{
type fixedValue;
value unifrom 0.0001;
}
front
{
type wedge;
}
back
{
type wedge;
}
}


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






my u folder is:


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (0.003 0 0);
}
outlet
{
type zeroGradient;


}
fixedWall

{
type fixedValue;
value uniform (0 0 0);
}
axis
{
type zeroGradient;
}
front
{
type wedge;
}
back

{
type wedge;
}


}






thank you so much.


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