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.

parametric distribution

Please login with a confirmed email address before reporting spam

Hi,

Is there anyway that I can define a spherical geometry with a Gaussian distribution of a Parameter inside it?

Best,
Haleh

1 Reply Last Post 2015年9月1日 GMT-4 16:48
Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2015年9月1日 GMT-4 16:48
Hi,

you cannot exactly do it with a parameter, but you can define a variable:



This would center the Gauss distribution var with width sigma at the origin. Define a variable like this in the entire model or in the spherical domain and you can use it wherever you need it in your model settings.

Cheers
Edgar

--
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
Hi, you cannot exactly do it with a parameter, but you can define a variable: [math]var = \frac{1}{\sigma \sqrt{2 \pi}}e^{-\frac{1}{2}\left(\frac{x^2 + y^2 + z^2}{\sigma^2}\right)}[/math] This would center the Gauss distribution var with width sigma at the origin. Define a variable like this in the entire model or in the spherical domain and you can use it wherever you need it in your model settings. Cheers Edgar -- Edgar J. Kaiser emPhys Physical Technology http://www.emphys.com

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.