@@ -28,7 +28,7 @@ const log = loggers.solver;
2828export function assembleSolidHeatTransferMat ( meshConfig , boundaryConditions ) {
2929 // log.info("Starting solid heat transfer matrix assembly");
3030 console . log ( "Starting solid heat transfer matrix assembly" ) ;
31-
31+
3232 // Extract mesh details from the configuration object
3333 const {
3434 meshDimension, // The dimension of the mesh
@@ -40,7 +40,11 @@ export function assembleSolidHeatTransferMat(meshConfig, boundaryConditions) {
4040 } = meshConfig ;
4141
4242 // log.debug(`Mesh configuration: ${meshDimension}, Elements: ${numElementsX}x${numElementsY || 1}, Size: ${maxX}x${maxY || 0}, Order: ${elementOrder}`);
43- console . log ( `Mesh configuration: ${ meshDimension } , Elements: ${ numElementsX } x${ numElementsY || 1 } , Size: ${ maxX } x${ maxY || 0 } , Order: ${ elementOrder } ` ) ;
43+ console . log (
44+ `Mesh configuration: ${ meshDimension } , Elements: ${ numElementsX } x${ numElementsY || 1 } , Size: ${ maxX } x${
45+ maxY || 0
46+ } , Order: ${ elementOrder } `
47+ ) ;
4448
4549 // Extract boundary conditions from the configuration object
4650 let convectionHeatTranfCoeff = [ ] ;
@@ -51,7 +55,9 @@ export function assembleSolidHeatTransferMat(meshConfig, boundaryConditions) {
5155 convectionHeatTranfCoeff [ key ] = boundaryCondition [ 1 ] ;
5256 convectionExtTemp [ key ] = boundaryCondition [ 2 ] ;
5357 // log.debug(`Convection boundary condition on boundary ${key}: h=${boundaryCondition[1]}, T=${boundaryCondition[2]}`);
54- console . log ( `Convection boundary condition on boundary ${ key } : h=${ boundaryCondition [ 1 ] } , T=${ boundaryCondition [ 2 ] } ` ) ;
58+ console . log (
59+ `Convection boundary condition on boundary ${ key } : h=${ boundaryCondition [ 1 ] } , T=${ boundaryCondition [ 2 ] } `
60+ ) ;
5561 }
5662 } ) ;
5763
@@ -85,7 +91,7 @@ export function assembleSolidHeatTransferMat(meshConfig, boundaryConditions) {
8591 const totalNodes = totalNodesX * ( meshDimension === "2D" ? totalNodesY : 1 ) ; // Total number of nodes
8692 // log.debug(`Total elements: ${totalElements}, Total nodes: ${totalNodes}`);
8793 console . log ( `Total elements: ${ totalElements } , Total nodes: ${ totalNodes } ` ) ;
88-
94+
8995 // Initialize variables for matrix assembly
9096 let localNodalNumbers = [ ] ; // Local nodal numbering
9197 let gaussPoints = [ ] ; // Gauss points
@@ -137,7 +143,7 @@ export function assembleSolidHeatTransferMat(meshConfig, boundaryConditions) {
137143
138144 // Determine the number of nodes in the reference element based on the first element in the nop array
139145 const numNodes = nop [ 0 ] . length ;
140-
146+
141147 // log.info(`Beginning matrix assembly for ${totalElements} elements...`);
142148 console . log ( `Beginning matrix assembly for ${ totalElements } elements...` ) ;
143149
@@ -291,7 +297,7 @@ export function assembleSolidHeatTransferMat(meshConfig, boundaryConditions) {
291297 thermalBoundaryConditions . imposeConstantTempBoundaryConditions ( residualVector , jacobianMatrix ) ;
292298 // log.debug("Constant temperature boundary conditions applied");
293299 console . log ( "Constant temperature boundary conditions applied" ) ;
294-
300+
295301 // log.info("Solid heat transfer matrix assembly completed");
296302 console . log ( "Solid heat transfer matrix assembly completed" ) ;
297303
0 commit comments