Skip to content
Marc & Structures
Index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Challenge ~10 min · ~14 min remaining

Challenge: when mesh_h does not divide the part

Predict the effect of a mesh_h that does not divide evenly and demonstrate the result.

Verifiable challenge — When mesh_h does not divide the part exactly

Complete 04_challenge.mac with sizes 0.04, 0.02 and 0.01 m. In the first case, beam_h/mesh_h=2.5: one line cannot contain two and a half elements.

Your script should:

  1. Declare a policy to convert each quotient to an integer number of divisions.
  2. Inform the nominal size and the divisions actually used.
  3. Build the mesh without line, node or element IDs.
  4. Recheck the topological equations with the adopted integers.
  5. Generate the same CSV and select a mesh only if it meets the 2%.

The decision is part of the model

Rounding to the nearest integer approximates the nominal size. Always rounding up ensures that the actual size does not exceed it. Either choice must be explicit and applied consistently; do not silently delegate the decision to the mesher.