Git Product home page Git Product logo

Comments (3)

TheodoreGalanos avatar TheodoreGalanos commented on August 22, 2024

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.

TheodoreGalanos avatar TheodoreGalanos commented on August 22, 2024

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.

mostaphaRoudsari avatar mostaphaRoudsari commented on August 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.