@@ -33,7 +33,7 @@ export class FlowBoundaryConditions {
3333 elementOrder ,
3434 totalNodesVelocity ,
3535 totalNodesPressure ,
36- q2ToPressureMap
36+ q2ToPressureMap ,
3737 ) {
3838 this . boundaryConditions = boundaryConditions ;
3939 this . boundaryElements = boundaryElements ;
@@ -58,11 +58,11 @@ export class FlowBoundaryConditions {
5858 * classic stiffness/conductivity matrix and `residualVector`
5959 * corresponds to the traditional load (RHS) vector.
6060 *
61- * Supported boundary condition types:
62- * - "constantVelocity": Set velocity components at boundary nodes
63- * Format: ["constantVelocity", uValue, vValue]
64- * - "stressFree": Natural boundary condition (zero traction), no assembly needed
65- * Format: ["stressFree"]
61+ * Supported boundary condition types:
62+ * - "constantVelocity": Set velocity components at boundary nodes
63+ * Format: ["constantVelocity", uValue, vValue]
64+ * - "stressFree": Natural boundary condition (zero traction), no assembly needed
65+ * Format: ["stressFree"]
6666 */
6767 imposeDirichletBoundaryConditions ( residualVector , jacobianMatrix ) {
6868 const totalDOFs = residualVector . length ;
@@ -80,7 +80,7 @@ export class FlowBoundaryConditions {
8080 const uValue = this . boundaryConditions [ boundaryKey ] [ 1 ] ;
8181 const vValue = this . boundaryConditions [ boundaryKey ] [ 2 ] ;
8282 debugLog (
83- `Boundary ${ boundaryKey } : Applying constant velocity condition (u=${ uValue } , v=${ vValue } )`
83+ `Boundary ${ boundaryKey } : Applying constant velocity condition (u=${ uValue } , v=${ vValue } )` ,
8484 ) ;
8585 this . boundaryElements [ boundaryKey ] . forEach ( ( [ elementIndex , side ] ) => {
8686 if ( this . elementOrder === "quadratic" ) {
@@ -97,7 +97,7 @@ export class FlowBoundaryConditions {
9797 debugLog (
9898 ` - Applied velocity Dirichlet to node ${ globalNodeIndex + 1 } (element ${
9999 elementIndex + 1
100- } , local node ${ nodeIndex + 1 } )`
100+ } , local node ${ nodeIndex + 1 } )`,
101101 ) ;
102102 // Apply u-velocity Dirichlet boundary condition
103103 residualVector [ uDOF ] = uValue ;
@@ -127,7 +127,7 @@ export class FlowBoundaryConditions {
127127 debugLog (
128128 ` - Applied velocity Dirichlet to node ${ globalNodeIndex + 1 } (element ${
129129 elementIndex + 1
130- } , local node ${ nodeIndex + 1 } )`
130+ } , local node ${ nodeIndex + 1 } )`,
131131 ) ;
132132 // Apply u-velocity Dirichlet boundary condition
133133 residualVector [ uDOF ] = uValue ;
0 commit comments