|
[Sponsors] |
Create rectified square wave inlet flow profile |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 18, 2015, 13:30 |
Create rectified square wave inlet flow profile
|
#1 |
New Member
Join Date: Nov 2015
Posts: 1
Rep Power: 0 |
I am trying to create a udf to generate a flow at the inlet that is a rectified square wave (oscillate between 0 and amplitude A). The equations I planned to use were the fourier series of the waveform, namely f(t)=+, but I haven't been able to figure out how to write an infinite sum like this (as n goes from 1 to infinity) in C code for the udf. Does anyone have any insights?
I don't need any specifics for the flow other than this pulsed flow at inlet, the flow can leave the outlet normally as per simulation. Thank you! |
|
Tags |
inlet flow profile, square wave, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inlet boundary profile: can I prescribe flow angles? | turbomax | CFX | 9 | August 6, 2015 16:01 |
3D pipe flow :: how to create non uniform inlet profile. | thess | FLUENT | 1 | May 30, 2014 03:43 |
Setting mass flow rate profile at an inlet | MentalVacancy | STAR-CCM+ | 11 | July 6, 2012 20:54 |
Strange velocity profile at the inlet for a flow inside a cylindrical pipe | michmich | OpenFOAM Running, Solving & CFD | 0 | July 2, 2012 04:37 |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 10:03 |