|
[Sponsors] |
December 21, 2020, 07:03 |
Add piecewise polinomial material property
|
#1 |
New Member
Eva Knahl
Join Date: Dec 2020
Location: Germany
Posts: 6
Rep Power: 5 |
I want to add two aggregate states of a substance as a new substance in Fluent. So two materials - one gas phase and the other one liquid phase.
I used an empty Scheme file and loaded it in the User-Defined-Material-Database. Then I created a substance in which I set the ciritcal point parameters as constant and entered for cp, density, thermal conductivity and viscosity piecewise polynomial (3 Ranges with three coefficients). Basically, the same error always occurs: Error: GENERAL-CAR-CDR: invalid argmument[1]: improper list Error Object () or Error Object #f The problem also occurs when I try the following: user defined new material How can I fix this error? My Scheme Code is: (I know that the coefficients are not great - and I don't know why the real-gas-law is added) (eth_g fluid (chemical-formula . #f) (acentric-factor (constant . 0.09950000000000001)) (specific-heat (polynomial piecewise-polynomial (289.79 295. 2730669. -18393.334733 31.015439) (295. 300.5 612790.6021 -3997.16224 6.55105) (300.5 306. 246111.7724 -1552.2795 2.4756244)) (real-gas-law . #f) (constant . 0.09950000000000001)) (critical-pressure (constant . 4872200.) (polynomial piecewise-polynomial (289.79 295. 2730669. -18393.334733 31.015439) (295. 300.5 612790.6021 -3997.16224 6.55105) (300.5 306. 246111.7724 -1552.2795 2.4756244)) (real-gas-law . #f)) (critical-volume (constant . 0.00485) (polynomial piecewise-polynomial (289.79 295. 2730669. -18393.334733 31.015439) (295. 300.5 612790.6021 -3997.16224 6.55105) (300.5 306. 246111.7724 -1552.2795 2.4756244)) (real-gas-law . #f)) (critical-temperature (constant . 305.32) (polynomial piecewise-polynomial (289.79 295. 2730669. -18393.334733 31.015439) (295. 300.5 612790.6021 -3997.16224 6.55105) (300.5 306. 246111.7724 -1552.2795 2.4756244)) (real-gas-law . #f)) (density (polynomial piecewise-polynomial (289.79 295. 7070.2037820704 -46.398193926 0.07683156694) (295. 300.5 2992.4518829 -18.701474026 0.029801199) (300.5 306. 1766.722568 -10.5323227 0.01618981)) (constant . 305.32) (real-gas-law . #f)) (molecular-weight (constant . 30.069) (polynomial piecewise-polynomial (289.79 295. 7070.2037820704 -46.398193926 0.07683156694) (295. 300.5 2992.4518829 -18.701474026 0.029801199) (300.5 306. 1766.722568 -10.5323227 0.01618981)) (real-gas-law . #f)) (reference-temperature (constant . 285.15) (polynomial piecewise-polynomial (289.79 295. 7070.2037820704 -46.398193926 0.07683156694) (295. 300.5 2992.4518829 -18.701474026 0.029801199) (300.5 306. 1766.722568 -10.5323227 0.01618981)) (real-gas-law . #f)) (speed-of-sound (constant . 230.13) (polynomial piecewise-polynomial (289.79 295. 0.00033736625857 -2.20486957e-06 3.722146e-09) (295. 300.5 0.0001359195 -8.365594405560001e-07 1.398601399e-09) (300.5 306. 7.03099060939e-05 -3.990819180817e-07 6.693306693000001e-10)) (polynomial piecewise-linear (0. . 0.) (0. . 0.)) (real-gas-law . #f)) (thermal-conductivity (constant . 0.02968) (polynomial piecewise-polynomial (289.79 295. 0.00033736625857 -2.20486957e-06 3.722146e-09) (295. 300.5 0.0001359195 -8.365594405560001e-07 1.398601399e-09) (300.5 306. 7.03099060939e-05 -3.990819180817e-07 6.693306693000001e-10)) (polynomial piecewise-linear (0. . 0.) (0. . 0.)) (real-gas-law . #f)) (viscosity (polynomial piecewise-polynomial (289.79 295. 0.00033736625857 -2.20486957e-06 3.722146e-09) (295. 300.5 0.0001359195 -8.365594405560001e-07 1.398601399e-09) (300.5 306. 7.03099060939e-05 -3.990819180817e-07 6.693306693000001e-10)) (polynomial piecewise-linear (0. . 0.) (0. . 0.)) (constant . 285.15) (real-gas-law . #f)) (therm-exp-coeff (constant . 0)) ) (eth-liq fluid (chemical-formula . #f) (acentric-factor (constant . 0.09950000000000001)) (specific-heat (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463)) (constant . 0.09950000000000001)) (critical-pressure (constant . 4872200.) (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463))) (critical-volume (constant . 0.00485) (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463))) (critical-temperature (constant . 305.32) (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463))) (density) (molecular-weight (constant . 30.069) (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463))) (reference-temperature (constant . 285.15) (polynomial piecewise-polynomial (270. 276.5 86021.53558 -643.444643 1.24863) (276.5 283. 217730. -1594.08283 2.964011) (283. 289.79 980190.171973 -6962.76209 12.41463))) (speed-of-sound (polynomial piecewise-polynomial (270. 276.5 -2074.136 30.09596 -0.07409341) (276.5 283. -6478.40365 61.9003 -0.131511) (283. 289.79 -22555.67871 175.191406 -0.331094)) (constant . 285.15)) (thermal-conductivity (polynomial piecewise-polynomial (270. 283. 0.150099526 0.000441038 -2.379121e-06) (283. 289.79 -0.4129611463008 0.004445709185 -9.500693223e-06)) (constant . 285.15)) (viscosity (polynomial piecewise-polynomial (270. 276.5 0.00022985144066 -3.5231099e-07 -9.780219999999999e-10) (276.5 283. -4.04156395605193e-05 1.5997178571434e-06 -4.5027472527e-09) (283. 289.79 -0.00095385194 8.037289999999999e-06 -1.5845286e-08)) (constant . 285.15)) ) |
|
Tags |
new material definition, piecewise polynomial, scheme file |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to delete or change material property in simFlow | anraw | OpenFOAM | 1 | August 30, 2016 08:09 |
UDF for MATERIAL PROPERTY | Vivek.oswal | FLUENT | 0 | July 27, 2016 05:48 |
Simple piston movement in cylinder- fluid models | arun1994 | CFX | 4 | July 8, 2016 03:54 |
How can I add new material? | doctoryk | STAR-CCM+ | 2 | May 11, 2010 16:13 |
How to add more material properties | sarahsun | CFX | 1 | October 27, 2009 08:27 |