Comments (3)
Hi @mostaphaRoudsari this looks really good!
I think the nomeclature could be "patch type" or maybe "boundaries" for inlet, outlet, etc. and "boundary conditions" instead of fields. Fields would then be what is inside 0 folder (p, U, k, epsilon, etc.)
Also I think we are missing a turbulence model tab and the "Run" could be a "Solver" tab. The categories for turbulence models can be:
RANS - Steady state - incompressible - no buoyancy/temperature/thermal fluxes
These are the cases we are targeting currently. Out default is the k-epsilon model, but we can easily allow the user to change that to other models (e.g. kEpsilon, RNGkEpsilon, Realizable k-epsilon) by simply giving the name of the model and Butterfly editing the turbulenceProperties dictionary. These can be chosen by the user depending on the type of study. In my work, k-epsilon is used for validity and stability, RNGkEpsilon for it's better accuracy in flow separation for both external and internal wind studies (e.g. natural ventilation studies, pedestrian comfort, etc.), while Realizable k-epsilon for studies with adverse pressure gradients or rotating geometries (e.g. fan-assisted NV simulations). K-omega SST is also a good solver. A bit more demanding of mesh quality but very good in most cases and especially where high wind velocities exist. There's a small difference in boundary conditions with omega instead of epsilon.
RANS - transient - incompressible - no buoyancy/temperature/thermal fluxes
These are essentially the same turbulence models but are now run in transient mode. This would have changes on the type of solver used (e.g. pimpleFoam instead of simpleFoam in controlDict), changes in the fvSolution file, and some other. This can be our second batch of default cases as it makes for an easy transition.
RANS - steady state/transient - incompressible - with buoyancy/temperature/thermal fluxes
This is an addition to the above by allowing thermal fluxes or temperatures to influence the fluid flows. Differences are mainly the additional fluid field (e.g. T file in 0 folder) and the different solver used. The simplest case here is to use the boussinesq approximation which allows for an easy case setup of these models. The difference would only be the new field in 0 folder and the selection of a boussinesq solver (mainly buoyantBoussinesqSimpleFoam and buoyantBoussinesqPimpleFoam for steady-state and transient respectively). The steady-state part of this we can also add quite easily in the next stage.
LES/DES
These are much more trickier, we can add them at a later stage. I'm not very experienced in these since they are usually not the most practical models to use, especially for my applications. But hopefully, people with experience can assist here.
Hope this helps.
Theodore.
from butterfly.
Also we would need a few more boundary conditions I think. For external studies we would need the ABL type boundary conditions that we used in the example (I guess internal/external is yet another distinction). This can even be a component by itself, with the user inputting a wind velocity, reference height, k, and epsilon, and the component makes the BCs. I am not sure, thinking out loud.
Regards,
Theodore.
from butterfly.
@TheodoreGalanos thank you for the insight. I will rename them based on your suggestions.
Turbulence models will be available once I address #28 .
from butterfly.
Related Issues (20)
- blockmesh :1.solution exception:windowserror. Who can help me!!! HOT 4
- Solution exception: WindowsError HOT 2
- Running time for Butterfly HOT 3
- Runtime error (UnauthorizedAccessException): Access to the path is denied
- butterfly doesn't seem to wake up blueCFD HOT 1
- Butterfly, Rhino, and BlueCore2020? HOT 6
- 1. Solution exception:WindowsError (wind analysis)
- Butterfly BlueCFD Installation. Followed instructions for both but still receiving error '1. Solution exception: Failed to import butterfly: No module named butterfly_grasshopper.timer'
- Blockmesh Component Error HOT 2
- Blockmesh Component Error HOT 2
- SnappyHexMesh Failed!
- 1. Solution exception:'"C:\Program Files\blueCFD-Core-2020\setvars.bat"' is not recognized as an internal or external command, operable program or batch file HOT 1
- Deleted
- Solution exception:Failed to find points file at C:\Users\An'd's\butterfly\outdoor_airflow\constant\polyMesh
- help,butterfly block mesh is warning HOT 4
- AddLayers output empty with True input in SnappyHexMesh HOT 2
- Moving or dynamic mesh
- Butterfly Python API documentation link broken.
- Butterfly Help WindowsError HOT 2
- Butterfly installation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butterfly.