@@ -219,7 +219,7 @@ void CIncNSSolver::GetStreamwise_Periodic_Properties(const CGeometry *geometry,
219219
220220 const su2double FaceArea = GeometryToolbox::Norm (nDim, AreaNormal);
221221
222- HeatFlow_Local += FaceArea * (-1.0 ) * Wall_HeatFlux/config->GetHeat_Flux_Ref ();;
222+ HeatFlow_Local += FaceArea * (-1.0 ) * Wall_HeatFlux/config->GetHeat_Flux_Ref ();
223223 } // loop Vertices
224224 } // loop Heatflux marker
225225 } // loop AllMarker
@@ -336,13 +336,13 @@ void CIncNSSolver::BC_Wall_Generic(const CGeometry *geometry, const CConfig *con
336336
337337 const bool implicit = (config->GetKind_TimeIntScheme () == EULER_IMPLICIT);
338338 const bool energy = config->GetEnergy_Equation ();
339+ const bool py_custom = config->GetMarker_All_PyCustom (val_marker);
339340
340341 /* --- Variables for streamwise periodicity ---*/
341342 const bool streamwise_periodic = (config->GetKind_Streamwise_Periodic () != ENUM_STREAMWISE_PERIODIC::NONE);
342343 const bool streamwise_periodic_temperature = config->GetStreamwise_Periodic_Temperature ();
343344 su2double Cp, thermal_conductivity, dot_product, scalar_factor;
344345
345-
346346 /* --- Identify the boundary by string name ---*/
347347
348348 const auto Marker_Tag = config->GetMarker_All_TagBound (val_marker);
@@ -426,6 +426,9 @@ void CIncNSSolver::BC_Wall_Generic(const CGeometry *geometry, const CConfig *con
426426 /* --- Apply a weak boundary condition for the energy equation.
427427 Compute the residual due to the prescribed heat flux. ---*/
428428
429+ if (py_custom) {
430+ Wall_HeatFlux = geometry->GetCustomBoundaryHeatFlux (val_marker, iVertex) / config->GetHeat_Flux_Ref ();
431+ }
429432 LinSysRes (iPoint, nDim+1 ) -= Wall_HeatFlux*Area;
430433
431434 /* --- With streamwise periodic flow and heatflux walls an additional term is introduced in the boundary formulation ---*/
@@ -460,7 +463,9 @@ void CIncNSSolver::BC_Wall_Generic(const CGeometry *geometry, const CConfig *con
460463 break ;
461464
462465 case ISOTHERMAL:
463-
466+ if (py_custom) {
467+ Twall = geometry->GetCustomBoundaryTemperature (val_marker, iVertex) / config->GetTemperature_Ref ();
468+ }
464469 const auto Point_Normal = geometry->vertex [val_marker][iVertex]->GetNormal_Neighbor ();
465470
466471 /* --- Get coordinates of i & nearest normal and compute distance ---*/
0 commit comments