thermocycle / Thermocycle-library

Thermocycle library
http://thermocycle.squoilin.eu
MIT License
55 stars 24 forks source link

Fix the initial value of the phase variable in flow1D #1

Closed squoilin closed 10 years ago

squoilin commented 10 years ago

The following variables are iteration variables of the initialization problem: hx1DInc.WorkingFluid.Cells[1].fluidState.phase hx1DInc.WorkingFluid.Cells[2].fluidState.phase hx1DInc.WorkingFluid.Cells[3].fluidState.phase hx1DInc.WorkingFluid.Cells[4].fluidState.phase hx1DInc.WorkingFluid.Cells[5].fluidState.phase hx1DInc.WorkingFluid.Cells[6].fluidState.phase hx1DInc.WorkingFluid.Cells[7].fluidState.phase hx1DInc.WorkingFluid.Cells[8].fluidState.phase hx1DInc.WorkingFluid.Cells[9].fluidState.phase hx1DInc.WorkingFluid.Cells[10].fluidState.phase

but they are not given any explicit start values. Zero will be used.

squoilin commented 10 years ago

Fixed by redeclaring FixedState with a start value in ExternalTwoPhaseMedium