# ASSEMBLE_FEM assembles the finite element stiffness matrix. # Input, integer X_NUM, the number of nodes. # Input, real X(X_NUM), the coordinates of nodes. # Input, integer ELEMENT_NUM, the number of ...
# or, assuming we have solved for all values of U at time T, we have # U(X,T+dt) = U(X,T) + cfl * ( U(X-dx,T) - 2 U(X,T) + U(X+dx,T) ) + dt * F(X,T) # Input, real K, the heat conductivity coefficient.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results