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/)
-   -   simpleSRFfoam : request for volVectorField U (https://www.cfd-online.com/Forums/openfoam-solving/81202-simplesrffoam-request-volvectorfield-u.html)

jmf October 19, 2010 16:27

simpleSRFfoam : request for volVectorField U
 
Hi everybody

I try to model a rotor in an open stream, using simpleSRFoam.

The solvers returns :
Code:

--> FOAM FATAL ERROR:
    request for volVectorField U from objectRegistry region0 failed
    available objects of type volVectorField are
1
(
Urel
)
    From function objectRegistry::lookupObject<Type>(const word&) const
    in file /home/nous/OpenFOAM/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 139.

In folder /0, there is a file Urel as follow :
Code:

internalField  uniform (10 0 0);
boundaryField
{
    inlet         
    {
        type            fixedValue;
        inletValue      uniform (10 0 0);
        relative        no;
        value          uniform (10 0 0);
    }
    outlet         
    {
        type            freestream;
        freestreamValue uniform (10 0 0);
    }
    rotor     
    {
        type            SRFVelocity;
        inletValue      uniform (0 0 0);
        relative        yes;
        value          uniform (0 0 0);
    }
    cyclic
    {
        type            cyclic;
    }
}

In /system, fvSolution contains :
Code:

    Urel
    {
        solver          PBiCG;
        preconditioner  DILU;
        tolerance      1e-05;
        relTol          0.1;
    }

I'm sticked. Who might help me ?

Thanks in advance

Jean-Michel

jmf October 23, 2010 13:02

[solved] simpleSRFfoam : request for volVectorField U
 
Hello

My problem is solved : freeStream BC seems not to be compatible with simpleSRFFoam.

fixedValue fixed the error

Best wishes

Jean-Michel

be_inspired October 29, 2010 20:11

Hi,

I have problems with SRFsimpleFoam. My mesh is 3D, it is a 120º sector with cyclic condition. Continuity errors are increasing at each iteration.

Could you share some information about bcs? Inlet, outlet, cyclic, wall and exterior fardfield?

Thanks in advance

WernerW July 28, 2015 15:16

5 Attachment(s)
Hi,

i'm experiencing the same issue with the request for volVectorField U as JMF. I'm following your advice to change the boundary conditions where there is freestream (with an exterior flow) from SRFFreestream to fixedValue and to zeroGradient and it still doesn't work.

I think that the zeroGradient boundary condition is better since I don't have a wall in here. For the fixedValue BC's I should give the walls the same speed of the air, which must be very difficult.

I think I might have to mention the volVectorField U somewhere since I eventually would want to have such vector field as a result. Are you sure that the solution to this problem relies only in the definitions of the boundary conditions ?

I will attach the versions of the Urel that I have created. I have followed the SFRSimpleFoam/Mixer to set up the fvSolution and fvSchemes. I attach them here as well.

I would apreciate any help.

Regards,
Werner

ingarcia1703 January 21, 2019 07:58

foam-extend 4.0
 
Using the solver steadyCOmpressibleSRFFoam still find the error

request for volVectorField U from objectRegistry region0 failed
available objects of type volVectorField are

4
(
UrelPrevIter
Urot
Urel
Uabs
)
...

I already changed the boundary conditions but is not working. Any idea?

Regards

ingarcia1703 July 24, 2019 09:35

solved
 
Hello foamers

The issue appeared because at the inlet boundary condition of temperature did not specify the U field as Urel, therefore the solver did not find the value. THen, by specifying U as U rel the problem has been solved.

Regards


All times are GMT -4. The time now is 20:02.