|
[Sponsors] |
March 13, 2024, 08:32 |
Ansys expression
|
#1 |
New Member
AHMED KANDIL
Join Date: Oct 2021
Posts: 14
Rep Power: 5 |
Hello everyone
I'm trying to write an expression for inlet temp with time and this is my expression 0.016[S]*t^6-0.2703[S]*t^5+1.6363[S]*t^4-4.3126[S]*t^3+5.1111[S]*t^2-1.6118[S]*t+298.26[S] but i get this error All arguments should have the same dimensions as the first argument [kg^-1 m^-2 s^9 A^2] but argument 2 has dimensions of [kg^-1*m^-2*s^8*A^2] how i can solve this problem |
|
March 13, 2024, 12:13 |
|
#2 |
New Member
Rohan sharma
Join Date: Dec 2015
Posts: 28
Rep Power: 10 |
You have to adjust the units for all components.
Hence you need adjust the units of each constant. I am not sure what is this unit [S] Last edited by rohansharmafree; March 13, 2024 at 13:21. |
|
March 13, 2024, 14:57 |
|
#3 |
New Member
Ryan
Join Date: Feb 2024
Location: South Africa
Posts: 5
Rep Power: 2 |
Hi Ahmed,
This thread belongs in the ANSYS Fluent forum, not the CFD freelancers forum. That being said... Your problem seems to be your units. You mentioned you're specifying temperature, so if you're working with SI units then every term should be in Kelvin (K). Your formula seems to be a polynomial with different exponents of time - the unit of each coefficient should be K*s^(-n) where n is the power of the temperature term it is being multiplied with and s is seconds. For example, 0.016 * t^6 - here, 0.016 should have units of K*s^(-6) as this will make that whole term equal Kelvin. |
|
March 15, 2024, 08:37 |
|
#4 |
New Member
AHMED KANDIL
Join Date: Oct 2021
Posts: 14
Rep Power: 5 |
Hi RavingRaven
Thank you for your reply and i will do this.. |
|
March 15, 2024, 08:39 |
|
#5 |
New Member
AHMED KANDIL
Join Date: Oct 2021
Posts: 14
Rep Power: 5 |
Hi rohansharmafree
Thanks ... |
|
July 19, 2024, 04:25 |
|
#6 | |
New Member
Join Date: Jul 2024
Posts: 1
Rep Power: 0 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ansys Installation on Docker Container | mohsen.shiea | ANSYS | 11 | March 14, 2024 12:18 |
Help with Expression in Ansys CFX | shubh1153 | Main CFD Forum | 0 | March 6, 2019 20:46 |
Define an Expression in Pre with another User Defined Expression and a Variable | fuGGet321 | CFX | 6 | May 8, 2018 17:19 |
A CFX-POST error (ver 14.5.7) | wangyflp88 | CFX | 2 | July 22, 2017 01:17 |
Exporting results from CFX to ANSYS ?? | sohail ahmed | CFX | 1 | December 20, 2007 02:10 |