Circulare inlet from matlab
Hallo everyone
This post will take you through a method of creating a circular inlet condition. Where the inlet condition is made from an array generated in Matlab This Matlab function can take an array and put into the right syntax for OpenFOAM. Code:
%input syntax Code:
( Code:
This should do it. Any improvements are welcome, so others easily can remake these inlet condition. - Fridrik Magnusson |
Quote:
This indicates that OpenFOAM expects the keyword file, while you have the keyword fileName. So I think changing that would solve this error. Regards, Tom |
Quote:
|
cylindricalInletVelocity
The derived boundary conditions: "cylindricalInletVelocity" should do the trick but it dosent seem to work.
from the website: To test the inlet condition. I set the rpm and the axial velocity to 0. This will just have a radial component then. Code:
inlet Code:
How do i make this boundary condition work ? |
Quote:
Code:
inlet Best Regards, Tom |
Thanks again Tom
Since the value is only for postprocessing and only gives a value at t = 0, i put it to (0 0 0). I think this pushed me over the finish line, i will update the post to be a tutorial for other users |
All times are GMT -4. The time now is 15:49. |