Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 4154

RF field - initial value - comsol 4.1

$
0
0
Dear forum,

I ask for an advice in the following things:

1)
Is there a predefined Poynting vector in RF module?
& where exactly can I list through the comsol-names for physical quantities?


2)
I have defined own analytic function
besselbeam(x,y,z,kz) = besselj(0, kz*sqrt(x^2+y^2)) * exp(-j*z*kz)

When I try to use it for the initial field Ez = besselbeam(x,y,z,kacko_z)

then the solver says

Error in user-defined function.
- Function: besselbeam
Failed to evaluate expression.
- Expression: besselbeam(x/unit_m_cf,y/unit_m_cf,z/unit_m_cf,kacko_z*unit_m_cf)

I am solving for a fluid velocity field, not EM at the moment.

What is wrong? Thanks for ideas.

Lukas Chvatal



Viewing all articles
Browse latest Browse all 4154


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