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

Implementing functions into COMSOL

$
0
0
I've (very) recently started working with COMSOL with the aim of implementing "extern" formulas for certain equations into COMSOL using different models.
For that I need to know how to define any function in COMSOL, at all. I can't find any tutorials relating to that. Maybe someone could explain how to describe any function (for example a(x)=x^2+4). Eventually I'd like to have a formula looking somewhat like this:

Needed_value(x)=integrate(beta,x,x_a,x_b), where beta=f(E(x))

For now it would be enough for me being able to perform an equation like this:

needed_value(x)=integrate(E(x),x,x_a,x_b)).

As I use the AC/DC Module, E(x) actually should be given after calculation but I can't use ist (es.Ex?)
Does anyone know how to connect the AC/DC results with my equations in "Global ODEs and DAEs (ge)"

Thanks in advance

Viewing all articles
Browse latest Browse all 3988

Trending Articles



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