Skip to content

Commit

Permalink
Fix density initialization bugs when init from files in incompressibl…
Browse files Browse the repository at this point in the history
…e case
  • Loading branch information
sdhzhs committed Dec 23, 2023
1 parent e504b6b commit 45099e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Initial.f03
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ Subroutine Initial
Tw(1,:)=Twi
Tw(Ic,:)=Twi
end if
rho=(Po+P)*Ma/(R*T)
if(Init=='N') then
rho=(Po+P)*Ma/(R*T)
end if
ks=ksi
if(Turmod=='inv') then
mu=0
Expand Down

0 comments on commit 45099e1

Please sign in to comment.