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

Boundary conditions for O-grid mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2022, 18:23
Default Boundary conditions for O-grid mesh
  #1
New Member
 
Icaro A. Carvalho
Join Date: Dec 2020
Posts: 24
Rep Power: 5
PenPencil is on a distinguished road
Hi all,

I am trying to simulate an incompressible and laminar flow about a system. I am varying the angle of attack of the incoming flow. In order to do so, I have created an O-grid (please see the attached figure. The system is centred at the origin, the flow comes from some angle, and the outer flow domain is a large circumference). However, I have not been getting results that agree physically with the literature and I am quite confident that this has to do with my boundary conditions. So I would like to ask: what is the correct input for my boundary conditions?
I have used the following for the 0/U:
Code:
FREESTREAM
    {
        type            freestreamVelocity;
        freestreamValue $internalField;
    }
and for 0/p:
Code:
FREESTREAM
    {
        type            freestreamPressure;
        freestreamValue $internalField;
    }
By the way, my FREESTREAM patch refers to the entire outer circumference and it is given in the constant/polyMesh/boundary file as:
Code:
FREESTREAM
    {
        type            patch;
        physicalType    patch;
        nFaces          656;
        startFace       538976;
    }
For the wall of the bodies I have been using the wall condition.

The contours of vorticity resulting from this setup are given as in the figure from ParaView, which are very weird.


Any help would be greatly appreciated.
Attached Images
File Type: png Screenshot from 2022-06-07 18-16-54.png (19.5 KB, 14 views)
File Type: png Screenshot from 2022-06-07 18-35-20.png (26.0 KB, 17 views)

Last edited by PenPencil; June 7, 2022 at 18:37. Reason: clarity
PenPencil is offline   Reply With Quote

Old   June 14, 2022, 09:19
Default
  #2
New Member
 
Icaro A. Carvalho
Join Date: Dec 2020
Posts: 24
Rep Power: 5
PenPencil is on a distinguished road
I would highly appreciate if anyone could give me some input.
PenPencil is offline   Reply With Quote

Old   June 14, 2022, 12:21
Default
  #3
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14
Tobermory will become famous soon enough
I can see why you went for an O-grid, but this is far from ideal, for a bunch of reasons. Plus your domain size is rather small - if you are interested in the wake flow, then the boundaries are way too close.

I would suggest extending the domain, adding a box around your O-mesh, and then applying simpler boundaries on your box faces - fixedValue on the upstream faces; inletOutlet on the downstream faces. You can rotate the box around the O-mesh in a "turntable"mesh fashion to get different angles of attack, if you are feeling really brave.

Good luck.
Tobermory 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 11:00
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32


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