|
[Sponsors] |
Easy Fix? Input parameters for Density and Viscosity |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 14, 2014, 17:55 |
Easy Fix? Input parameters for Density and Viscosity
|
#1 |
New Member
|
Hey Everyone,
I am currently trying to match lab data and I am using the values obtained from the measured viscosity and density. Is it possible to create input parameters for these values or is it much more complicated to do so? I am having to change the fluid properties every time I run a simulation. |
|
March 15, 2014, 10:52 |
|
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
Hi Liam,
It is easy to do once you have learned the basics about using UDF macros. Look at the Ansys Fluent UDF Manual, the DEFINE_PROPERTY macro is what you're looking for. Look at example 2.3.20.4 in version 15.0 of the manual, it's about temperature-dependent viscosity. If you have never used UDFs, you will read in the UDF Manual that you have to either compile or interprete a UDF in Fluent. Don't try to compile your UDF, it's a complete headache. Interprete your UDF instead. |
|
March 17, 2014, 17:53 |
|
#3 |
Senior Member
Andrew Kokemoor
Join Date: Aug 2013
Posts: 122
Rep Power: 14 |
In v15 you can definitely set the density and viscosity to input parameters; I'm pretty sure you can in 14.5 as well. Having a hard time finding it in the manual, but it's pretty straightforward.
In the Create/Edit Material window where you set the fluid properties, click the drop down menu for 'constant' and select 'New Input Parameter'. It'll prompt you for a name and starting value, just like any other parameter. You should be able to do this for density, viscosity, and any other material properties. |
|
Tags |
density, fluent 14.5, parameter, viscosity, workbench |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with divergence | TDK | FLUENT | 13 | December 14, 2018 07:00 |
0 concentration specie impacting viscosity value | ChrisA | OpenFOAM Running, Solving & CFD | 1 | March 16, 2013 20:58 |
Too low temperature at combustor outlet | romekr | FLUENT | 2 | February 6, 2012 11:02 |
Eddy Viscosity Model Parameters | Tristan | CFX | 5 | January 20, 2010 16:25 |
Problem of Turbulent Viscosity Ratio Limited | David Yang | FLUENT | 3 | June 3, 2002 07:13 |