|
[Sponsors] |
Boundary conditions for wind from variable direction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2022, 08:07 |
Boundary conditions for wind from variable direction
|
#1 |
New Member
Schweiz
Join Date: Aug 2022
Posts: 8
Rep Power: 3 |
I started with the windAroundBuildings example from OpenFOAM.
This example has the following boundary conditions: - inlet with type=fixedValue (left side of the cube) - outlet with type=pressureInletOutletVelocity (right side) - ground with type=wall - front, back and top of cube with type=symmetry Now I'd like do change it such that the wind can come from an arbitrary direction, or to put it differently, I'd like to put the buildings in a wind field with various directions. The wind does not change during one simulation run, I just want to investigate a scenery under different wind conditions. I can of course change the wind direction just at the inlet, but that's not enough, since depending on the direction, the wind might also come in from the other walls of the cube or even the outlet. Another idea is to leave the hex mesh with the boundary patches and boundary conditions as-is, but to rotate the objects inside the cube. That comes with the drawback that I have to re-calculate the mesh for every wind direction. What would be the best approach to handle various wind directions? |
|
March 6, 2023, 20:53 |
|
#2 |
New Member
WANG Houzhi
Join Date: Dec 2022
Posts: 10
Rep Power: 3 |
Hi Michael.
Did you get any solution for this situation? May I ask for your final decision? Best, Pic |
|
March 7, 2023, 00:30 |
|
#3 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
You may extend the area around the buildings and make all the boundaries to inletoutlet.
Then you may add an internal wall in form of a hole in the structure, far enough from the building. You may use this to generate the wind you need. For wind from another direction you have to move this internal wall, but preserve the coordinates of the structure you are interested in. This facilitates the postProcessing and evaluation.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 7, 2023, 00:38 |
|
#4 | |
New Member
WANG Houzhi
Join Date: Dec 2022
Posts: 10
Rep Power: 3 |
Quote:
BTW, the simulation I'm dealing with is about wind around buildings, which we always set a patch of the computation domain as input/output. You got any suggestions? Thanks again, Pic |
||
March 7, 2023, 04:30 |
|
#5 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Normally, I use blockMesh and remeshing is not a great deal. If you use something different. Maybe there are tools which modify an existing mesh. setFields is one of them, but I don't know if it is appropriate.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 58 | July 3, 2020 01:13 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 10:00 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 01:27 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
OpenFOAM Variable Velocity Boundary Conditions | NickolasPl | OpenFOAM Programming & Development | 2 | May 19, 2011 05:37 |