Skip to content
Snippets Groups Projects
Commit dbcb15f8 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T/CT] Use Function type property for testing.

Replaces the Linear type property with a general
function type expression with derivatives.
parent 18f3516e
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,20 @@ ...@@ -47,6 +47,20 @@
<properties> <properties>
<property> <property>
<name>density</name> <name>density</name>
<type>Function</type>
<value>
<expression>1 + 0.026 * concentration + 5e-5 * (phase_pressure - 0.5)</expression>
</value>
<dvalue>
<variable_name>concentration</variable_name>
<expression>0.026</expression>
</dvalue>
<dvalue>
<variable_name>phase_pressure</variable_name>
<expression>5e-5</expression>
</dvalue>
<!-- Keep for testing of the Function type property resembling the Linear property
<type>Linear</type> <type>Linear</type>
<reference_value>1</reference_value> <reference_value>1</reference_value>
<independent_variable> <independent_variable>
...@@ -59,6 +73,7 @@ ...@@ -59,6 +73,7 @@
<reference_condition>0.5</reference_condition> <reference_condition>0.5</reference_condition>
<slope>5e-5</slope> <slope>5e-5</slope>
</independent_variable> </independent_variable>
-->
</property> </property>
<property> <property>
<name>viscosity</name> <name>viscosity</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment