API - Remesh bar elements
API - Remesh bar elements
(OP)
Hi,
I'm trying to subdivide 1D elements (bar) completely in background using the API femeshremesh. It doesn't take the refineRatio parameter from the command option like in the case of 2D elements, but ask for this by means of UI (pop-up window). That spoils my whole automatism.Has anyone got an idea how that can be avoided?
feMeshRemesh
( elemSET, nodeSET, remeshMode, refineRatio, breakAngle, deleteOrig, propID, minBetween, maxAspect, maxQuickNodes, meshApproach, quadAngle, smoothLaplacian, smoothIter, smoothTol )
Thanks!
I'm trying to subdivide 1D elements (bar) completely in background using the API femeshremesh. It doesn't take the refineRatio parameter from the command option like in the case of 2D elements, but ask for this by means of UI (pop-up window). That spoils my whole automatism.Has anyone got an idea how that can be avoided?
feMeshRemesh
( elemSET, nodeSET, remeshMode, refineRatio, breakAngle, deleteOrig, propID, minBetween, maxAspect, maxQuickNodes, meshApproach, quadAngle, smoothLaplacian, smoothIter, smoothTol )
Thanks!





RE: API - Remesh bar elements
You can look at the existing API for dividing BEAM elements and simply change the prop.type condition to adapt it for BAR elements.
FEMAP\v111\api\Element Update\Divide Beams
Seif Eddine Naffoussi, Stress Engineer
www.Innovamech.com
33650 Martillac û France
RE: API - Remesh bar elements
thanks for the tip! I did it as you said and worked very well.