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

Problem with the swirlInletVelocity BC

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ybapat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2019, 10:49
Default Problem with the swirlInletVelocity BC
  #1
New Member
 
Slim
Join Date: Dec 2018
Posts: 6
Rep Power: 7
sosos is on a distinguished road
Hi to all.

I am trying to simulate a flame out of a swirl burner. The figure attached shows the domain I am working on. By the way, for now, I am only interested on the outlet of the burner and not in what happens inside.

I used gmsh to create the mesh and import it to openFoam. The mesh consists of 2 circular surfaces which are supposed to be the outlet of the burner. So the burner consists of two outlets; the inner surface is the outlet where the flow only follows the x-direction and the outer surface is the outlet where the flow encounters the fins to create swirling movement. Finally, the box represents the atmosphere where the flame is supposed to develop.

For the surface where the flow comes with some swirling motion I would like to use the "swirlInletVelocity" BC but openfoam gives me an error message: "Essential entry 'value' missing" like it's working with the "fixedValue" type.

I am not what you can call an openFoam expert so I am a bit lost here. What do you think I should change to make it run? And do you think this is the best way to simulate a swirling flow?

Sorry if I am not clear enough, so please feel free to ask me for more information and thank you for your help.
Attached Images
File Type: png domain.PNG (18.9 KB, 35 views)
sosos is offline   Reply With Quote

Old   January 16, 2020, 21:24
Default I am also getting the same error
  #2
New Member
 
BTmaxxx
Join Date: Aug 2019
Posts: 4
Rep Power: 6
yppoonia is on a distinguished road
Hello,
Did you find the solution to this?
yppoonia is offline   Reply With Quote

Old   January 16, 2020, 21:45
Default
  #3
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Can you post your {} block in which the type is set to 'swirlInletVelocity' - then someone can suggest how to modify it? Also post the complete error message.
Светлана is offline   Reply With Quote

Old   January 17, 2020, 00:16
Default
  #4
New Member
 
BTmaxxx
Join Date: Aug 2019
Posts: 4
Rep Power: 6
yppoonia is on a distinguished road
This the error message I am getting

--> FOAM FATAL IO ERROR:
Essential entry 'value' missing

file: /home/yogesh/OpenFOAM/yogesh-7/run/t4/0/U.boundaryField.inlet_ch from line 24 to line 29.

From function Foam::fvPatchField<Type>::fvPatchField(const Foam::fvPatch&, const Foam:imensionedField<Type, Foam::volMesh>&, const Foam::dictionary&, bool) [with Type = Foam::Vector<double>]
in file /home/ubuntu/OpenFOAM/OpenFOAM-7/src/finiteVolume/lnInclude/fvPatchField.C at line 97.

FOAM exiting


and this is the block in 0/U

{
type swirlInletVelocity;
axis (0 0 0.004);
origin (0 0 -0.005) ;
axialVelocity constant 23.0;
radialVelocity constant 0.1;
tangentialVelocity constant 0.1;
}

I have swirling flow in an annular region. Do I have to include some filename in 0/U while using the derived fvPatchFields?
yppoonia is offline   Reply With Quote

Old   January 17, 2020, 00:37
Default
  #5
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Thanks - could you please post the complete contents of the '0/U' file here?
Светлана is offline   Reply With Quote

Old   January 17, 2020, 00:40
Default
  #6
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
Hello,


You need to provide entry like

value uniform (0 0 0);


Once simulation starts BC will calculate velocity value at the boundary.
yppoonia likes this.
ybapat is offline   Reply With Quote

Old   January 17, 2020, 00:46
Default
  #7
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 407
Rep Power: 14
Светлана is on a distinguished road
Thanks - I was looking for an example in the openfoam tutorials but did not find any with this type.

Does someone have a working tutorial case with this BC? It could be added to the official tutorials for this openfoam distribution.
Светлана is offline   Reply With Quote

Old   January 18, 2020, 10:38
Default
  #8
New Member
 
BTmaxxx
Join Date: Aug 2019
Posts: 4
Rep Power: 6
yppoonia is on a distinguished road
Hello,
Quote:
Originally Posted by ybapat View Post
Hello,


You need to provide entry like

value uniform (0 0 0);


Once simulation starts BC will calculate velocity value at the boundary.
thank you, the problem is sorted now.
yppoonia 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 19:37.