CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How much does the source code for this turbulent flow CFD code worth in US $?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree14Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2022, 14:05
Default
  #41
New Member
 
Poly T
Join Date: May 2022
Posts: 25
Rep Power: 3
poly_tec is an unknown quantity at this point
careful bro. I got punished by an admin yesterday for pointing out the same cringeworthy thing…
poly_tec is offline   Reply With Quote

Old   December 28, 2022, 12:40
Default
  #42
Member
 
Youssef Hafez
Join Date: Dec 2022
Posts: 48
Rep Power: 4
Dr Youssef Hafez is on a distinguished road
If there are 1000 CFD codes let them be 1000 and one; what is the problem?
Dr Youssef Hafez is offline   Reply With Quote

Old   December 28, 2022, 12:43
Default
  #43
New Member
 
Poly T
Join Date: May 2022
Posts: 25
Rep Power: 3
poly_tec is an unknown quantity at this point
no problem, just commercial value: 0.0
poly_tec is offline   Reply With Quote

Old   January 4, 2023, 01:13
Default
  #44
Member
 
Youssef Hafez
Join Date: Dec 2022
Posts: 48
Rep Power: 4
Dr Youssef Hafez is on a distinguished road
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.
Dr Youssef Hafez is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
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


All times are GMT -4. The time now is 14:32.