Skip to content

Commit

Permalink
Merge pull request #1015 from CombustionToolbox/develop
Browse files Browse the repository at this point in the history
Solve: error calculation in subsonic region for rocketFAC method
  • Loading branch information
AlbertoCuadra authored Feb 5, 2025
2 parents efecd5f + 8d04ee9 commit e00bb03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion +combustiontoolbox/+rocket/@RocketSolver/rocketFAC.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
mix2_inj = copy(mix1);
areaRatio = mix1.areaRatio;
areaRatioChamber = mix1.areaRatioChamber;
temp_FLAG_SUBSONIC = obj.FLAG_SUBSONIC;
obj.FLAG_SUBSONIC = true;

% Unpack additional input parameters
Expand Down Expand Up @@ -125,7 +126,7 @@
mix2_c.areaRatioChamber = areaRatioChamber; % [-]

% Compute chemical equilibria at the given exit points
obj.FLAG_SUBSONIC = false;
obj.FLAG_SUBSONIC = temp_FLAG_SUBSONIC;
mix4 = rocketExit(obj, mix2_c, mix3, mix4_guess, areaRatio, mix2_inj);

% Compute rocket parameters
Expand Down

0 comments on commit e00bb03

Please sign in to comment.