|
[Sponsors] |
September 21, 2013, 12:30 |
What happen with this square root??
|
#1 |
New Member
Darío López
Join Date: Oct 2011
Location: Vigo, Spain
Posts: 10
Rep Power: 14 |
Hi everybody!
I want to write a simple operation in my solver: Tension = zF*sqrt(1-(calcDistance0-0.5)/2.4*(calcDistance0-0.5)/2.4); + forceStatic*(calcDistance0-0.5)/2.4; Where Tension, zF, calcDistance0 and forceStatic are scalars (static scalar ...) When I try to compile I find this error: solveForceBalance.H:154: error: call of overloaded 'sqrt(Foam::scalar)' is ambiguous /usr/include/bits/mathcalls.h:157: note: candidates are: double sqrt(double) Help me please!!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RMS root mean square velocity Fluent | C.C | FLUENT | 4 | August 29, 2022 21:10 |
root mean square velocity | Far | CFX | 12 | June 1, 2016 08:58 |
Environment errors with .deb install and ubuntu 13.04 64 bit | jonathanbyrn | OpenFOAM Installation | 14 | September 26, 2013 05:22 |
missing vtf3.h BPatch.h papi.h | linch | OpenFOAM Installation | 41 | July 24, 2012 14:45 |
root mean square | John | FLUENT | 4 | May 30, 2002 16:14 |