Quantcast
Channel: Solving, solving\ - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 3988

Minimising a functional in COMSOL - Optimization

$
0
0
Hi all,

I am trying to minimize a functional in COMSOl through the optimisation module. The functional depends on two functions E(x) and G(x) (and their derivatives up to second order) plus two constants c1 and c2.

So, I wrote the energy (my functional) and used an integral objective in the optimisation module. Also, I specified E and G as control variable fields. Then, in the optimisation solver, I used the Nelder-Mead method in which I specified c1 and c2 as control parameters.

The model runs and the method varies c1 and c2 but it seems that the objective does not change when they vary. At the end, c1 and c2 are always equal to their initial values. Am I doing something wrong?

Thank you very much in advance.

Best regards,
Matteo

Viewing all articles
Browse latest Browse all 3988

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>