|
[Sponsors] |
How much does the source code for this turbulent flow CFD code worth in US $? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#41 |
New Member
Poly T
Join Date: May 2022
Posts: 25
Rep Power: 3 ![]() |
careful bro. I got punished by an admin yesterday for pointing out the same cringeworthy thing…
|
|
![]() |
![]() |
![]() |
![]() |
#42 |
Member
Youssef Hafez
Join Date: Dec 2022
Posts: 48
Rep Power: 4 ![]() |
If there are 1000 CFD codes let them be 1000 and one; what is the problem?
|
|
![]() |
![]() |
![]() |
![]() |
#43 |
New Member
Poly T
Join Date: May 2022
Posts: 25
Rep Power: 3 ![]() |
no problem, just commercial value: 0.0
|
|
![]() |
![]() |
![]() |
![]() |
#44 |
Member
Youssef Hafez
Join Date: Dec 2022
Posts: 48
Rep Power: 4 ![]() |
An advantage of my code is the treatment of the pressure variable.
The pressure has a mathematical, not a thermodynamic meaning. According to RANS the pressure is not uniquely defined as any pressure function could satisfy the RANS up to an additive constant so a family of parallel pressure surface fields would satisfy the RANS mathematically speaking. However, knowing one pressure value would tie the solution. In fact, from a CFD or mathematical prospective the pressure is just a constraint to enforce the incompressibility constraint or the velocity divergence free condition (Div. V =0). One possible treatment of the pressure is through expresssing the pressure using the penalty approach as: - p/k = (Div. V) ; or p = - K (Div. V) where K is a penalty parameter that is supposed to have a very large values (ideally infinite value) so at such very large values Div. (V) =0.0 . A better formulation is the iterative penalty method which I used in my codes which is: p (at iteration i+1) = p (at iteration i) - K (Div. V) In the iterative penalty method smaller values could be taken for k, e.g. k maybe 100 to avoid using very large numbers. When using the pressure penalty approach, no need to solve the continuity equation on the global scale and in fact the pressure is substituted for using the above mentioned equation in RANS and the pressure is no longer an unknown which reduces the number of unknowns to only the velocities. This is a big computational advantage saving significant memory storage. However, the pressure can be recovered by solving on the element or cell scale using the penalty equation and the obtained values are true within an additive constant. Knowing one value of pressure, the pressure values obtained could be easily scaled. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
unable to run dynamic mesh(6dof) and wave UDF | shedo | Fluent UDF and Scheme Programming | 0 | July 1, 2022 17:22 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 17:34 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 06:42 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 11:32 |