Skip to content

Commit

Permalink
Advances. Generator working.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenzorrilla committed Dec 14, 2024
1 parent 758eaf1 commit 402ea29
Show file tree
Hide file tree
Showing 4 changed files with 1,139 additions and 744 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ class LowMachNavierStokesData : public FluidElementData<TDim,TNumNodes, true>
NodalVectorData BodyForce;

NodalScalarData Pressure;
NodalScalarData PressureOldStep1;
NodalScalarData PressureOldStep2;

NodalScalarData Temperature;
NodalScalarData TemperatureOldStep1;
NodalScalarData TemperatureOldStep2;

NodalScalarData Density;
NodalScalarData DensityOldStep1;
NodalScalarData DensityOldStep2;

double Conductivity;

Expand Down Expand Up @@ -106,12 +106,12 @@ class LowMachNavierStokesData : public FluidElementData<TDim,TNumNodes, true>
this->FillFromHistoricalNodalData(HeatFlux, HEAT_FLUX, r_geometry);
this->FillFromHistoricalNodalData(BodyForce, BODY_FORCE, r_geometry);
this->FillFromHistoricalNodalData(Pressure, PRESSURE, r_geometry);
this->FillFromHistoricalNodalData(PressureOldStep1, PRESSURE, r_geometry, 1);
this->FillFromHistoricalNodalData(PressureOldStep2, PRESSURE, r_geometry, 2);
this->FillFromHistoricalNodalData(Temperature, TEMPERATURE, r_geometry);
this->FillFromHistoricalNodalData(TemperatureOldStep1, TEMPERATURE, r_geometry, 1);
this->FillFromHistoricalNodalData(TemperatureOldStep2, TEMPERATURE, r_geometry, 2);
this->FillFromHistoricalNodalData(Density, DENSITY, r_geometry);
this->FillFromHistoricalNodalData(DensityOldStep1, DENSITY, r_geometry, 1);
this->FillFromHistoricalNodalData(DensityOldStep2, DENSITY, r_geometry, 2);

// Fill data from properties
const auto& r_properties = rElement.GetProperties();
Expand Down
Loading

0 comments on commit 402ea29

Please sign in to comment.