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