Plotting Shielding Effectiveness with FEMLAB: Newbie Questions

  • Thread starter Thread starter sanshyme
  • Start date Start date
  • Tags Tags
    Graphs
AI Thread Summary
The discussion focuses on using FEMlab for plotting the shielding effectiveness of magnetic materials and addresses several user queries. Key points include guidance on plotting current in quasi-state electromagnetic models and generating graphs through the post-processing mode. Users can save models in the default .fl format and open them via the file menu. While MATLAB is not required for FEMlab, linking the two can enhance model customization and data transfer. Additionally, users can generate cylindrical current-carrying conductors and utilize the 'postinterp' function to obtain magnetic field values at specific coordinates. The software operates on a dimensionless basis, allowing users to define their own units during input.
sanshyme
Messages
4
Reaction score
0
hi i am new to FEMlab and have to plot sielding effectiveness of magnetic materials using the software.

but currently i have the following problems
1. plot current in quasi state in EM model
2. plot graphs
3. save my models in FEMLAB in .fl format
4. open saved models in .fl format

do i need a mathlab to use my FEMlab?

thanks!
 
Computer science news on Phys.org
Hi Sanshyme, welcome to PF !

Great that you're getting to use one of the best fea software around.

1. Go to the post-processing mode, open the post-processing options box, and choose the variable you want to plot and what type of a plot you want.
2. If you're looking to plot model related properties, results or so that can all be done as above, under post-processing you've domain and cross section plots to make 'graph' plots.
3. Hmmm, the *.fl ougth to be the default model save format ... so just saving a model file via file - save as ougth to go about in this format ?
4. Likewise, open under file - open or then set the model root path in the opening window under user models.

No, you don't need matlab, but linking femlab to MATLAB can help in advanced model customization, data transfer etc. between these 2 softwares.
 
hi hi all.. i got more questions on femlab. first thanks to PerenniaII!
i am currently generating a cylindrical current carrying conductor

Center at the origin; Radius: 0.01m; Initial Az = 100

i exported the fem structure to the MATLAB and uses the following codes



[x,y]=meshgrid(0.01:0.001:0.075,0);

p=[x(:)';y(:)'];

B =postinterp(fem,'normB_qa',p)



now, suppose i would like to get the value of B at x=0.75 and y=0, what should i write? thanks!

by the way is the axes of femlab in metres?! thanks!
 
... Femlab is as most codes dimensionless, it has libraries based on a certain set of units but essentially you define the system of units when inputting geometry, material properties etc.

With respect to getting results at arbitrary points I'd say in most cases you can use 'postinterp' for that as well, it accepts points as input.
 
hi ...
so am i right to say that if i want to get the Bfield at point x=0.75 and y=0,
i'll write

x,y]=meshgrid(0.75,0);

p=[x(:)';y(:)'];

B =postinterp(fem,'normB_qa',p) ??
thanks!
 
Looks good, if you got the application mode vars right, if you get errors we can try to debug what's going wrong.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top