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.
Extract Data from a Parameterized Surface
Posted 2012年11月2日 GMT-4 14:40 RF & Microwave Engineering Version 4.2a 2 Replies
Please login with a confirmed email address before reporting spam
Hello,
In my comsol model I would like to extract the electric and magnetic fields on the surface of a sphere. What I do now is the following:
1) I define a Parameterized Surface in the Results>Data Sets section. I select the Data Set from which I want to extract the fields (eg. Solution3) and define the sphere as the parameterized surface.
2) After that I go to Results>Export>Data and choose as a Data set the Parameterized Surface, then I select the expression I would like to extract from this surface (eg electric field norm). In the output section I select:
Filename: filename.csv
Points to evaluate in: Take from data set
Data format: spreadsheet
Space Dimension: 3
Geometry level: surface
When I open the file I get a list of x,y,z coordinates with the field norm. The x,y and z coordinates satisfy the condition that they have to be on the defined sphere, but in the column with the field norm, I get only one value which is the same for all x,y,z. Also when I try to plot it, I don't see a surface plot of the field norm on the defined surface.
My question therefore is: Does anyone know how to extract data from a predefined parameterized surface (such as a sphere) or anyone who can tell me what I am doing wrong in the previous explanation?
Meanwhile thanks.
Kind regards,
F.Peyskens
In my comsol model I would like to extract the electric and magnetic fields on the surface of a sphere. What I do now is the following:
1) I define a Parameterized Surface in the Results>Data Sets section. I select the Data Set from which I want to extract the fields (eg. Solution3) and define the sphere as the parameterized surface.
2) After that I go to Results>Export>Data and choose as a Data set the Parameterized Surface, then I select the expression I would like to extract from this surface (eg electric field norm). In the output section I select:
Filename: filename.csv
Points to evaluate in: Take from data set
Data format: spreadsheet
Space Dimension: 3
Geometry level: surface
When I open the file I get a list of x,y,z coordinates with the field norm. The x,y and z coordinates satisfy the condition that they have to be on the defined sphere, but in the column with the field norm, I get only one value which is the same for all x,y,z. Also when I try to plot it, I don't see a surface plot of the field norm on the defined surface.
My question therefore is: Does anyone know how to extract data from a predefined parameterized surface (such as a sphere) or anyone who can tell me what I am doing wrong in the previous explanation?
Meanwhile thanks.
Kind regards,
F.Peyskens
2 Replies Last Post 2012年11月5日 GMT-5 06:37