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

Cornering Flow Boundary Conditions (OpenFoam)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2018, 08:49
Default Cornering Flow Boundary Conditions (OpenFoam)
  #1
New Member
 
Join Date: Oct 2017
Posts: 15
Rep Power: 8
CfdIntro is on a distinguished road
Hi, I'm interested in examining the aerodynamic effects of cornering flow on an FSAE car. After searching online, I came up to the conclusion that this (Fig.1) type of mesh would be the most beneficial for the simulation.

Fig.1

The issue now is how can someone assign two boundary conditions on the same field of a mesh for use in OpenFoam? As you can see, there is one "inlet" bc and one "outlet" bc on the same field.

Any thoughts on how it can be done? Any other tip on cornering flow simulations would be greatly appreciated! Thanks in advance!
CfdIntro is offline   Reply With Quote

Old   February 1, 2018, 11:35
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
An easy way is to divide the area in strips. For every Strip you can set the b.c. you need.

Anothe way ist to use curved boundary and to have only an inlet and an outlet and two walls.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   February 1, 2018, 18:43
Default
  #3
New Member
 
Join Date: Oct 2017
Posts: 15
Rep Power: 8
CfdIntro is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Anothe way ist to use curved boundary and to have only an inlet and an outlet and two walls.
This was my initial approach to the cornering flow case but I quickly realized that a new mesh would be needed every time one of the parameters change, i.e. the curvature of the flow. Having a rectangular mesh with the boundary conditions assigned as described on the first post, actually saves time because the same mesh can be used for simulations with different parameters.

Quote:
Originally Posted by piu58 View Post
An easy way is to divide the area in strips. For every Strip you can set the b.c. you need.
How can I divide the area in strips? This is actually what I have in mind as the solution to the cornering flow problem.

Thanks in advance!
CfdIntro is offline   Reply With Quote

Old   February 2, 2018, 00:27
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Quote:
Originally Posted by CfdIntro View Post
How can I divide the area in strips? This is actually what I have in mind as the solution to the cornering flow problem.

Thanks in advance!
This is simple : Create three strips with blockmesh, and define eight boundary areas form them.
CfdIntro likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   February 2, 2018, 08:59
Default
  #5
New Member
 
Join Date: Oct 2017
Posts: 15
Rep Power: 8
CfdIntro is on a distinguished road
Quote:
Originally Posted by piu58 View Post
Create three strips with blockmesh
I've been searching online about how to create strips with blockmesh to no avail. Is there any chance you could provide us with a series of bullet points on how to do it? It would be really helpful!

Thanks for the suggestion!
CfdIntro is offline   Reply With Quote

Old   February 2, 2018, 12:21
Default
  #6
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I recommend strongly to look at the examples which are delivered with OpenFoam. I cannot describe the usage of blockMesh with a few words.

OF has a manual which should be included in the installation. It describes the usage of blockMesh.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   February 2, 2018, 14:57
Default
  #7
New Member
 
Join Date: Oct 2017
Posts: 15
Rep Power: 8
CfdIntro is on a distinguished road
Quote:
Originally Posted by piu58 View Post
I recommend strongly to look at the examples which are delivered with OpenFoam. I cannot describe the usage of blockMesh with a few words.

OF has a manual which should be included in the installation. It describes the usage of blockMesh.
Problem solved, I misunderstood the meaning of the word "strip".

Last edited by CfdIntro; February 13, 2018 at 06:40.
CfdIntro is offline   Reply With Quote

Old   March 16, 2023, 08:42
Default
  #8
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Quote:
Originally Posted by piu58 View Post
This is simple : Create three strips with blockmesh, and define eight boundary areas form them.
Hi Uwe,

I know this is a really old case but it would mean a lot if you could help me with my question.

I am trying to simulate this exact case, my idea is to create a rectangular domain with the the inlets and outlets as indicated in the picture and then rotate the domain around an external point. But I am not exactly sure how that can be done, is this possible by using MRF or is there another Openfoam function that I have to use to do this.

Best,

Amirmohammad
AMR96 is offline   Reply With Quote

Old   March 17, 2023, 02:44
Default
  #9
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I don't know any tool which rotates a mesh. But it may be, there is one.

I recommend modifying the blockmesh file itself, or may be easier, generate it from a small program. This program may have all parameters as input and you could automate your simulations.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 17, 2023, 03:44
Default
  #10
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,074
Rep Power: 26
Yann will become famous soon enough
Quote:
Originally Posted by AMR96 View Post
Hi Uwe,

I know this is a really old case but it would mean a lot if you could help me with my question.

I am trying to simulate this exact case, my idea is to create a rectangular domain with the the inlets and outlets as indicated in the picture and then rotate the domain around an external point. But I am not exactly sure how that can be done, is this possible by using MRF or is there another Openfoam function that I have to use to do this.

Best,

Amirmohammad
Hello Amirmohammad,

Maybe you could use SRF for this.
Have a look at SRFSimpleFoam/SFRPimpleFoam.

Regards,
Yann
Yann is offline   Reply With Quote

Old   March 23, 2023, 10:24
Default
  #11
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Thanks for your message Uwe,

I also think it would be best to mesh with another software and bringing it to OpenFOAM.

Best,

Amirmohammad
AMR96 is offline   Reply With Quote

Old   March 23, 2023, 10:25
Default
  #12
Member
 
Join Date: Apr 2022
Posts: 31
Rep Power: 4
AMR96 is on a distinguished road
Thanks Yann,

After reading the relevant documents, I think this is what I have been searching for.

Best,

Amirmohammad
AMR96 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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 05:53
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 18:02
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Boundary conditions for flow in nozzle kgevers FLUENT 0 July 26, 2015 12:46
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30


All times are GMT -4. The time now is 14:36.