|
[Sponsors] |
Cannot plot expression: Traceback (most recent call last): File "<string>", line 1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 19, 2023, 07:29 |
Cannot plot expression: Traceback (most recent call last): File "<string>", line 1
|
#1 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
when I use the expression in the fluent, it gives the following errors, what is the reason?
velocity magnitude=0.073963122*(1+0.5*sin(2*PI*22*t)) Cannot plot expression: Traceback (most recent call last): File "<string>", line 1, in <module> RuntimeError: sin: The argument should be either dimensionless or have units of Angle but it has units of [s] |
|
March 19, 2023, 08:59 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,848
Rep Power: 73 |
Quote:
The reason is that the argument in the sin function is dimensional. You need to define something like t/T. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 03:30 |
[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 |
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM | Ancioi | OpenFOAM Meshing & Mesh Conversion | 17 | January 8, 2019 23:50 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 12:41 |