Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Topology Optimization

Please login with a confirmed email address before reporting spam

Dear all,

I am trying to do the topology optimization for heatsink with laminar flow.

and when I start the simulation, it alwasys shows the following mistakes

Undefined variable.
- Variable: CFLCMP
- Geometry: geom1
- Domain: 1
Failed to evaluate variable.
- Variable: comp1.spf2.locCFL
- Defined as: CFLCMP
Failed to evaluate expression.
- Expression: nojac(comp1.spf2.time_step_inv/comp1.spf2.locCFL)
Failed to evaluate variable.
- Variable: comp1.spf2.tsti
- Defined as: nojac(comp1.spf2.time_step_inv/comp1.spf2.locCFL)
Failed to evaluate expression.
- Expression: dvol_spatial*(-((comp1.spf2.rho *(comp1.spf2.usePseudoTimeStepping>0))*comp1.spf2.tsti))
Failed to evaluate Jacobian of expression.
- Expression: dvol_spatial*(((comp1.spf2.rho*(comp1.spf2.usePseudoTimeStepping>0))*comp1.spf2.tsti)*(-(comp1.u2-nojac(comp1.u2))))
Failed to evaluate Jacobian of expression.
- Expression: ((comp1.spf2.usePseudoTimeStepping>0)*comp1.spf2.rho*comp1.spf2.tsti*(-(comp1.u2-nojac(comp1.u2))*test(comp1.u2)-(comp1.v2-nojac(comp1.v2))*test(comp1.v2)-(comp1.w2-nojac(comp1.w2))*test(comp1.w2)))*(dvol_spatial)

would you please help what is the problem ?

thank you so much


0 Replies Last Post 18.11.2020, 09:32 GMT-5
COMSOL Moderator

Hello Chi Zhang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.