Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Integration of fields from PDF solutions
Posted 2014年5月7日 GMT-4 12:52 Parameters, Variables, & Functions Version 4.4 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am working with COMSOL 4.4, Multiphysics, solving three different physics models on the same geometry. Two of them are Electrostatics, (a potential field "V" and another "weighting" potential field "Vw"). The third is an convection/diffusion equation, solving the concentration "n" of charge carriers in the geometry, using the potential field coming from one of the electrostatics nodes.
So, now I have three fields, as a function of space: V, Vw and n. Now, I want to solve the following integral:
Q = INT_t dt INT_geometry dOmega ( n(r) * (d/dr V) (d/dr Vw) )
Where n(r) is the value of n given by a particular point in the domain. Is there a way I can do this?
In the manual I found some information about "Component Couplings".
For instance, under Component->Definitions->Component Couplings I find an Integration node. Here, I can set the name and the domain. But I cannot set the actual function to integrate, so it seems useless to me.
Likewise, under Results->Data Sets, I can select "Integral", but again I cannot see how I can specify what expression I want to integrate.
Is there any way to do the integration as I want to?
Best regards,
Machiel Kolstein
I am working with COMSOL 4.4, Multiphysics, solving three different physics models on the same geometry. Two of them are Electrostatics, (a potential field "V" and another "weighting" potential field "Vw"). The third is an convection/diffusion equation, solving the concentration "n" of charge carriers in the geometry, using the potential field coming from one of the electrostatics nodes.
So, now I have three fields, as a function of space: V, Vw and n. Now, I want to solve the following integral:
Q = INT_t dt INT_geometry dOmega ( n(r) * (d/dr V) (d/dr Vw) )
Where n(r) is the value of n given by a particular point in the domain. Is there a way I can do this?
In the manual I found some information about "Component Couplings".
For instance, under Component->Definitions->Component Couplings I find an Integration node. Here, I can set the name and the domain. But I cannot set the actual function to integrate, so it seems useless to me.
Likewise, under Results->Data Sets, I can select "Integral", but again I cannot see how I can specify what expression I want to integrate.
Is there any way to do the integration as I want to?
Best regards,
Machiel Kolstein
2 Replies Last Post 2014年5月8日 GMT-4 12:40