-
-
July 11, 2019 at 3:18 pm
Goenitz
SubscriberHi all,
I am trying to use fluid viscosity in CEL expression to be used in other formulai.
My material name is 'MSR' and fluid name is 'my'.
I am trying to write expression my.viscosity or my.density, but receiving this error.
P.S. 'my' is Fluid and Particle definitions and Solid definitions is 'Ni foam'
WARNING
Expression 'phasedensity*Cf/sqrt(Kp)' depends on a variable 'my.Density' which does not exist.
WARNING
Expression 'porosity*my.density+(1-porosity)*Ni foam.density' depends on a variable 'my.Density' which does not exist.
WARNING
Expression 'my.viscosity/porosity' depends on a variable 'my.Dynamic Viscosity' which does not exist.
-
July 11, 2019 at 4:12 pm
DrAmine
Ansys EmployeeIf single phase just use the variables without fluid names. -
July 15, 2019 at 3:14 pm
Goenitz
SubscriberThe MSR is mixture of gases of methane steam reforming reaction plus passing through a porous medium (Ni foam). Temperature is high so all gases are in gaseous state but Ni foam is in solid state. So it is not a single phase. I wrote expression on following parallel ground of CFX reference guide.
15.2.12.1. System Variable Prefixes
In order to distinguish system variables of the different components and fluids in your CFX model,
prefixes are used. For example, if carbon dioxide is a material used in the fluid air, then some of the
system variables that you might expect to see are:
• air.density - the density of air
• air.viscosity - the viscosity of air
• air.carbondioxide.mf - the mass fraction of carbon dioxide in air
• air | water.surface tension coefficient – the surface tension coefficient between air
and water
• air | water.area density – the interfacial area density between air and water.
-
July 15, 2019 at 3:48 pm
DrAmine
Ansys EmployeeYou are referring to the correct passage. Air in the example is a multicomponent phase.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

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
-
3778
-
2587
-
1831
-
1242
-
598
© 2023 Copyright ANSYS, Inc. All rights reserved.