Jim Freels
mechanical side of nuclear engineering, multiphysics analysis, COMSOL specialist
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年12月26日 GMT-5 08:22
Did you perform a solution step, or in particular, an ´update solution´ prior to examining the data ?
Did you perform a solution step, or in particular, an ´update solution´ prior to examining the data ?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年12月27日 GMT-5 05:46
Thank you for your answer:
I want to model the variation in time of the magnetic flux through a single loop, which is around a cylindrical permanent magnet.
I am working in ACDC 2D-Axisymmetric-Azimuthal Induction Currents Vector Potential.
1. Right now I am working in static analysis, so no time variables are being taking into account.
2. I needed the magnetic flux through the area perpendicular to the cylindrical permanent magnet, up to the outer border of the single coil loop, so I defined a PROJECTION COUPLING VARIABLE called magflux (magnetic flux) which is defined as
magflux: (Bz_emqa*2*pi*r)*((r>=0)&&(r<=7.25E-3)&&(z>=-21E-3)&&(z<=21E-3))
I did the integrations over r direction, and I made these results available in ALL DOMAINS. Then I exported these results and made a plot in excel of magflux vs z.
3.Now, I am trying to make a plot of d(magfux)/dz vs z (the first derivative of my variable magflux with respect to z) vs z. But I have tried everything and always, when I export the data, I get only zeros as the value of the first derivative.
I have tried writing
1. magfluxz
2. magflux,z
3.diff(magflux, z)
4.d(magflux, z)
5.pd (magflux, z)
I also tried defining a extrusion coupling variable name dmagflux, defined by d(magflux,z) and made it available in all the domains, but when in the EXPORT POSTPROCESSING DATA>SUBDOMAIN> EXPRESSION FIELD I write dmagflux when I export the data only zeros appear in the column of the derivative data, the same if I write there d(magflux,z), and also if I try to do it manually in the POSTPROCESSING>DATA DISPLAY>SUBDOMAIN field.
In the export postprocessing data I am selecting the solution corresponding to 0 seconds, because I am doing nothing with time at this moment so I think time has no effect on my problem, and if I don't do it in the exported data document appear lots of times and I only need the value vs z!
Can you please help me and tell me what am doing wrong?
Thank you, in advance, thank you very much!
P.D. By the way, is there a way in COMSOL for fitting curves? I mean, to get a polynomial which best represent the data I get from this?
Thank you for your answer:
I want to model the variation in time of the magnetic flux through a single loop, which is around a cylindrical permanent magnet.
I am working in ACDC 2D-Axisymmetric-Azimuthal Induction Currents Vector Potential.
1. Right now I am working in static analysis, so no time variables are being taking into account.
2. I needed the magnetic flux through the area perpendicular to the cylindrical permanent magnet, up to the outer border of the single coil loop, so I defined a PROJECTION COUPLING VARIABLE called magflux (magnetic flux) which is defined as
magflux: (Bz_emqa*2*pi*r)*((r>=0)&&(r=-21E-3)&&(zSUBDOMAIN> EXPRESSION FIELD I write dmagflux when I export the data only zeros appear in the column of the derivative data, the same if I write there d(magflux,z), and also if I try to do it manually in the POSTPROCESSING>DATA DISPLAY>SUBDOMAIN field.
In the export postprocessing data I am selecting the solution corresponding to 0 seconds, because I am doing nothing with time at this moment so I think time has no effect on my problem, and if I don't do it in the exported data document appear lots of times and I only need the value vs z!
Can you please help me and tell me what am doing wrong?
Thank you, in advance, thank you very much!
P.D. By the way, is there a way in COMSOL for fitting curves? I mean, to get a polynomial which best represent the data I get from this?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2010年12月27日 GMT-5 06:02
I forgot to tell you, I don't know if it is the same, but also clicked on SOLVE> UPDATE MODEL before exporting the data.
I forgot to tell you, I don't know if it is the same, but also clicked on SOLVE> UPDATE MODEL before exporting the data.