Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j-jith/foam-random-process-bc
OpenFOAM boundary condition to generate random gusts at a velocity inlet
https://github.com/j-jith/foam-random-process-bc
openfoam
Last synced: about 1 month ago
JSON representation
OpenFOAM boundary condition to generate random gusts at a velocity inlet
- Host: GitHub
- URL: https://github.com/j-jith/foam-random-process-bc
- Owner: j-jith
- Created: 2018-07-12T07:30:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T01:28:08.000Z (about 6 years ago)
- Last Synced: 2023-10-19T18:54:04.263Z (about 1 year ago)
- Topics: openfoam
- Language: C++
- Homepage:
- Size: 553 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# randomProcessFixedValue
This is an OpenFOAM boundary condition for generating random gusts at a
velocity inlet.**This is a work in progress. Expect breaking changes.**
## Usage
The random gust is generated using the Spectral Representation Method from a
specified power spectral density (PSD). At the moment, this boundary condition
can generate a horizontal/vertical spatially uniform random gust.The following parameters are used to specify the gust:
- `gustDir`: a vector representing the direction of the gust
- `scaleFac`: a scaling factor for the amplitude of the gust
- `circFreq`: a list of frequencies at which the PSD is given
- `psd`: a list representing the PSD at each frequency in `circFreq`## Example
Two example cases are provided in the [run](run/) directory:
- [rectangularCavity](run/rectangularCavity/): A rectangular cavity with a
velocity inlet
- [rectangularCavityPar](run/rectangularCavityPar): Same rectangular cavity
modified to run in parallelPlease have a look at the [0/U](run/rectangularCavityPar/0/U) file to
understand how the gust is to be specified.