|
[Sponsors] |
February 20, 2012, 09:57 |
problem with BC cylindricalInletVelocity
|
#1 |
New Member
Vladimir
Join Date: Feb 2012
Posts: 6
Rep Power: 14 |
Hi all !
I'm new to OpenFOAM and I'm trying to use the cylindricalInletVelocity boundary condition to specify the swirl flow in the tube. inlet { type cylindricalInletVelocity; axis (0 0 1); centre (0 0 0); axialVelocity 0.1; rpm 6; radialVelocity 0; value uniform (0 0 0); } but I get the error below // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting RAS turbulence model kEpsilon kEpsilonCoeffs { Cmu 0.09; C1 1.44; C2 1.92; sigmaEps 1.3; } No field sources present SIMPLE: convergence criteria field p tolerance 0.01 field U tolerance 0.001 field "(k|epsilon|omega)" tolerance 0.001 Starting time loop Time = 1 --> FOAM FATAL ERROR: attempted copy of a deallocated temporary From function Foam::tmp<T>::tmp(const tmp<T>&) in file /OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/tmpI.H at line 63. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::cylindricalInletVelocityFvPatchVectorField:: updateCoeffs() in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #3 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/simpleFoam" #4 at simpleFoam.C:0 #5 in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/simpleFoam" #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 in "/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/simpleFoam" Aborted Thanks in advance for any help. |
|
March 14, 2012, 04:35 |
|
#2 |
New Member
Join Date: Sep 2011
Posts: 5
Rep Power: 15 |
Hey galogen,..
i got the same problem. Have you found any solutions for the problem up to now? Axel |
|
March 14, 2012, 08:59 |
|
#3 |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
Hi!
have you guys tried to change the input values? Code:
{ type cylindricalInletVelocity; axis (0 0 1); centre (0 0 0); axialVelocity 0.1; rpm 6; radialVelocity 0; value uniform (0 0 0); } also make sure everything follows the RHR so you won't get problems with signs, and ensure your centre and axis are properly positioned GL!
__________________
Best Regards /calim "Elune will grant us the strength" |
|
March 16, 2012, 02:57 |
|
#4 |
New Member
Join Date: Sep 2011
Posts: 5
Rep Power: 15 |
hi calim
i changed the input values but i get always the same error. this is my Ua inlet code. the solver is bubbleFoam. Code:
inlet { type cylindricalInletVelocity; axis (0 1 0); centre (-0.14015 0.28175 0.135); axialVelocity 0; rpm 0; radialVelocity 0.24; value uniform (0 0 0); } Axel |
|
March 16, 2012, 05:06 |
|
#5 |
New Member
Vladimir
Join Date: Feb 2012
Posts: 6
Rep Power: 14 |
Hi Axel. I still can't solve this problem. So while I don't need to set radial velocity I use
swirlFlowRateInletVelocity. If you find somthing, please post it. |
|
March 16, 2012, 05:34 |
|
#6 |
New Member
Vladimir
Join Date: Feb 2012
Posts: 6
Rep Power: 14 |
Hi Calim,
Do you know what does it mean: "attempted copy of a deallocated temporary" ? Did you tried to use this BC? If it worked, could you post the example of working BC settings? |
|
March 16, 2012, 07:06 |
|
#7 |
New Member
Join Date: Sep 2011
Posts: 5
Rep Power: 15 |
hi
i solved my problem with another patch type. my task was ist, to realize only a radial flow out of e cylindric patch. virtually a normal velocity to the patch surface. i realized it with the following type Code:
inlet { type surfaceNormalFixedValue; refValue uniform -0.24; } |
|
March 16, 2012, 07:38 |
|
#8 |
Senior Member
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 18 |
by trying it out and searching through the forums i guess it might be actually a BUG (cylindricalvelocityinlet)! unfortunately i do not have the time to dig deeper.. i've tried a few changes but i got the same error.;. if i find sth new i'll let you know..
ty and sry
__________________
Best Regards /calim "Elune will grant us the strength" |
|
March 21, 2012, 09:17 |
|
#9 |
New Member
Vladimir
Join Date: Feb 2012
Posts: 6
Rep Power: 14 |
Yes, it's really looks like BUG. So thanks you Axel and Calim for your answers and your time!
Best wishes! |
|
April 26, 2012, 12:19 |
cylindricalInletVelocity problem!!!!
|
#10 |
New Member
Join Date: Apr 2012
Posts: 1
Rep Power: 0 |
hi all
anybody find a solution for cylindricalInletVelocity? It doesn't work at all!!!!!! it apears in the terminal: --> FOAM FATAL ERROR: attempted copy of a deallocated temporary From function Foam::tmp<T>::tmp(const tmp<T>&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/tmpI.H at line 63. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam:perator*<Foam::Vector<double> >(double const&, Foam::tmp<Foam::Field<Foam::Vector<double> > > const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #3 Foam::cylindricalInletVelocityFvPatchVectorField:: updateCoeffs() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #4 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<doub le>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/simpleFoam" #5 in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/simpleFoam" #6 in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/simpleFoam" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/simpleFoam" Aborted |
|
January 15, 2013, 06:54 |
|
#11 |
New Member
Nolwenn
Join Date: Apr 2010
Posts: 26
Rep Power: 16 |
Hello everybody,
I have the same problem, did you find something interesting ? Best regards. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |