-
-
October 5, 2018 at 9:02 pm
hgsdvd
SubscriberHello Guys,
I am facing an obstacle now in writing an expression to define a chart as a function of Height. I have written the expression and has gone smoothly except that the problem with the units i guess. I keep receiving a message telling me that there is an inconsistent dimensions in the expression.
Could anybody figure out the problem?
I really appreciate any help.
Thanks
Muhannad,
Expressions:
Fire Height= 1[m] *((3.7[m] *(FireProfile^(2/5)))-1.02[m])
Fire Profile= if(t<3300
, if(t<600, FireGrowth, FirePower), FireExtinction)
The message
Inconsistent dimensions on each side of '-' operator at position 37.
Dimensions on left: 'kg^0.400 m^1.800 s^-1.200'
Dimensions on right: 'm'.
-
October 7, 2018 at 2:01 pm
raul.raghav
SubscriberMuhannad, the units for your expression of “Fire Profile” is [kg m^2 s^-3]. You can’t subtract these units with [m] in your “Fire Height” expression. Based on the way you have defined your “Fire Height” expression, the expression “Fire Profile” needs to be dimensionless. If “Fire Profile” is dimensionless, your “Fire Height” would have units of [m^2]. Make sure you check all this. -
October 7, 2018 at 9:10 pm
hgsdvd
SubscriberDear Rahul,
Thanks for you reply. I am trying to define the "Fire Profile" expression according to the attached graph. As far as I know, I have to insert some units to let the solver reads it correctly, unless if there is another way to do so, then I will appreciate knowing it. Just to make it clear, the message I am receiving is referring to the expressions below, which the expressions above are a part of. However, the reason why I post the " Fire Height" expression is that I started facing this warnings once I defined the "Fire Height" expression.
Expressions:
heatSource = insideSource*FireProfile/max(SourceVolume, minVolume)
insideSource = step((FireRadius-rSource)/unitL)*step((FireHeight-hSource)/unitL)
Thank you
Muhannad,
-
October 7, 2018 at 9:48 pm
raul.raghav
SubscriberMuha, its still not clear how you're trying to define the expressions. The issue was regarding the "Fire Height" variable you defined.
Fire Height= 1[m] *((3.7[m] *(FireProfile^(2/5)))-1.02[m])
[*error*] = [m] * ( ([kg^0.4 m^1.8 s^-1.2]) - [m] )
The error is because you're trying to subtract [kg^0.4 m^1.8 s^-1.2] and [m]. You need to be dimensionally consistent.
-
October 7, 2018 at 10:10 pm
hgsdvd
SubscriberThanks Rahul for the reply.
I got your point. So, any suggestion on how it be possible to use the "Fire Height" equation as a function of the "Fire Profile" expression whether by CEL expressions or different ways?
Thanks
Muha,
-
October 11, 2018 at 4:54 pm
raul.raghav
SubscriberMuha, you have to provide more information on what you're trying to achieve. A reference would be of help to understand what you're trying to do.
-
October 11, 2018 at 7:05 pm
DrAmine
Ansys EmployeePlease tell us what you want to do and what you have as input.
-
October 12, 2018 at 1:36 am
raul.raghav
SubscriberMuha, your equation for "Fire Profile" should be composed of Eqn's (1), (2) and (3), which I believe you did correctly. The equation you define for "Fire Height" requires the non-dimensional form of heat release rate (HRR) and you have to find information regarding how your "Fire Profile" equation is being non-dimensionalized.
And the equation "Fire Profile" can be defined as follows:
Fire Profile = if(t<600
, FireGrowth, if(t<3300, FirePower, FireExtinction))
instead of
Fire Profile= if(t<3300
, if(t<600, FireGrowth, FirePower), FireExtinction)
-
- You must be logged in to reply to this topic.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
-
2616
-
2098
-
1323
-
1108
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.