|
[Sponsors] | |||||
[blockMesh] Square root with inline calculation |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
anonymous
Join Date: Jan 2024
Posts: 1
Rep Power: 0 ![]() |
Is it possible to get the square root with the inline calculation? I have tried to parameterize the coordinates for my blockMesh and need the square root. I have tried the following:
Code:
X_ref #calc "(sqrt(2*($edge * $edge)) - $D) / 2 * cos(degToRad(45))"; I am grateful for any tips. |
|
|
|
|
|
![]() |
| Tags |
| blockmeshdict, inline calculations |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RMS root mean square velocity Fluent | C.C | FLUENT | 4 | August 29, 2022 22:10 |
| using a Fortran library of thermodynamics inside sutherland transport model | Mehdi3031 | OpenFOAM Programming & Development | 0 | April 7, 2016 10:34 |
| MATLAB code for flow around Square Cross-section | JungleCrow | Main CFD Forum | 6 | July 15, 2015 01:00 |
| Adding new Least Square calculation subroutine | shainath | SU2 | 1 | May 12, 2015 17:49 |
| Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |