- Index
- » Users
- » TDK
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Hi guys,
I'm creating my own fluid models like valves pipes ect, I noticed that in the standard library they use BaseProperties to calculate the state while I'd like to use the setState approach; my doubt is about initialization: how should I do it?
In the BaseProperties apporach the write
Medium.BaseProperties gas(p(start=p0),T(start=T),Xi(start=Xnom[1:Medium.nXi]));
should I write
Medium.ThermodynamicState gas=Medium.setState_pTX(p0,T,Xnom) ?
Than you very much!
Regards
Jacopo
Page Start Prev 1 Next End
- Index
- » Users
- » TDK
- » Profile