Quantcast
Channel: Results and visualization - Latest Discussions - COMSOL Forums
Viewing all 3058 articles
Browse latest View live

Monotonically plot independant variable

$
0
0
Hello,

I have a 1D point graph, when I connect the points (any style of line) COMSOL draws the line by connecting the points in the order that the solver calculates them. Is there a way of having COMSOL draw the line simply left to right?

Thanks,
Aaron R. Shifman

How can I get the 2D relative displacement graph

$
0
0
Hello,

I am trying to calculate the eigen-frequencies of a 2D circular plane using the solid mechanics --> eigenfrequencies module. When I plot the displacement in 2D, the graph appears to only show absolute values of displacement. I am interested in seeing both positive and negative displacement values relative to 0. Is there anyway I can achieve this result in 2D? or do I must simulate this in 3D.

Any guidance will be greatly appreciated.

Thanks,
Dennis

Model is attached below.

In transient time domain analysis, is there any way to visualize 2D E-field of a selected frequency?

$
0
0
Dear Friends,
Your comments regarding my concern is highly appreciated. Please take a look.

My concern is: In transient time domain analysis, is there any way to visualize 2D E-field of a selected frequency? And for that what modification is necessary in my simulation (Please find the attached file )?
I saw that we can observe 2D E-field in the whole ring resonator at different time steps (like in Figure 1). But I am interested to observe the 2D-E-field in the ring resonator at only one selected single frequency like 5 THz. If you could please help me out, I would be really grateful.

With best regards,
Raju

Multiphysics

$
0
0
Hello.

I have such a question:

When I give the project the two physics that have the same output
for example, the magnetic field strength of the magnetic field
in T, and each physics shows intrinsic value.

what can I do to make these physics merged in the calculation
and gave one overall value?

Thank you.

How to access local variables

$
0
0
Hi
I have defined local variables on specified boundaries and would like to know how to access these values for post processing (either through COMSOL GUI or Matlab)
Thanks

inductive heating - moving mesh problem

$
0
0
Hi,

i try to simulate a 3D model with a rigid coil over a moving metal-part. The simulation consists of three physics: moving mesh (ale), magnetic and electric fields (mef) and heat transfer (ht).
I implemented all three studies and particularly they work fine, but the problem is that the electromagnetic heat source moves with the partboundary and does not remain under the coil.

I have three single studies:

1. time-dependent: ale
2. time-dependent: mef
3. time-dependent: ht

So can anybody tell me where is my mistake?

Thank you

Robert

How to compute time-averaged power in a frequency domain solution?

$
0
0
I am attempting to compute the time-averaged power delivered to a resistive load domain but cannot figure out a reliable way to do so. Any help would be appreciated.

I am modeling inductive coupling between two coils of wire in the Magnetic & Electric Fields interface. The bottom coil is driven by a voltage source imposed by terminals. The top coil is connected to a resistor, where that resistor is simply modeled as a domain with lower conductivity. I'm solving my model in the frequency domain and would like to compute the time-averaged power delivered to that load resistor. I cannot attach my full model, but a toy model is attached to illustrate the situation.

I've tried multiple tactics to compute the power delivered to the load, but none quite work. Here are a few of my attempts:

1) Compute the voltage across the load by averaging the voltage on each boundary and computing the difference. Compute the current through the load by integrating the surface current through a boundary. Compute power delivered to the load as (1/2)*real(conj(V)*I). This gives an okay estimate sometimes, but often has significant error due to varying voltage and current distributions on the load boundaries. In many cases, this can even report more power going into the load than is being provided by the source.

2) Integrate the resistive losses (mef.Qrh) within the load domain. This gives a much more accurate estimate of power delivered to the load, but only at a specific instant in time (i.e., at phase = 0 degrees). If there is a way to compute the time average of these resistive losses, then that'd be perfect, but I cannot find a way to compute the time average for a frequency domain solution.

3) Utilize the time-averaged power flow variables (mef.Pox). Unfortunately, these essentially average to zero on any given boundary and thus appear useless to me.

So how does one go about computing the average power delivered to a resistive load domain? I've been struggling with this question and would appreciate any advice.

Thank you.

deformed geometry for Electromagnets

$
0
0
hi every one ,
i defined a moving armature by using deformed geometry in AD\DC module .also auto Remeshing defined .when the distortion exceed from 1 ,comsol remesh geometry again .
but after three remeshing ,comsol give an error(A problem occurred when building mesh feature 'Reference 1')also inverted mesh element can be seen .
does any one know how can i solve this problem ?
thanks with regards

Editing Parametric Sweeps

$
0
0
Hi all,

I created this model to test the effectiveness of AntiReflective Coatings. I wanted to modify this so that it can check results over a wide variety of wavelengths as well as angles. Can anyone help me fix this (creating two parametric sweeps does not seem to create the correct data).

creating function vs time plot

$
0
0
I fed in a simple wave equation into comsol using it's coefficient form PDE and am trying to plot the unknown variable vs time. Can anyone tell me how to do it? The geometry being used is a simple rectangle. Comsol automatically plots the unknown variable vs the dimension of rectangle but not the time plot, not even using point plot or line plot.

Exporting Complex Pressure (Acoustics Module)

$
0
0
Hello,

I'm new to COMSOL (version 4.3), and I'm having some issues exporting the phase of the pressure from my model. I'm using a simple 2D box in the frequency domain and using a pressure node on an interior boundary condition (input amplitude P0 = 2 Pa). I am trying to export the pressure across a grid (in spreadsheet format).

I have tried exporting in .txt and .csv formats and exporting real(p) and imag(p) separately, but my imaginary component is always 0. Is there something in the acoustics solution that I'm missing, or am I just exporting the data incorrectly?

Thank you,
Casey

Missing initial/ boundary condition in result

$
0
0
Hi,

I am working with solid mechanics and Richards' equation, and built a model in which I set the initial value in Richards to be that hp (pressure head) is -10 everywhere, and I set a boundary condition such that at one particular point there would be a constant pressure head of 0 (using the "pressure head" node).

I checked my results and looked specifically at a graph of the pressure head at t=0 to check that my original conditions were being followed, and while the majority of the outer domain showed a pressure head of -10, it was not constant - it was higher above and lower below, as though things had already begun to change even though I was looking at time t=0. I also noticed that the small area that I designated to have a pressure head of 0 looked to actually have on of -10 just like its surround areas.

Is there a reason COMSOL would not use the BC's and IC's that I assigned? Or have I perhaps misunderstood something and assigned something improperly?

Any advice would be appreciated.

Thank you,
Shoshana

multiplicating the Field by a 3x3 matrix

$
0
0
Hi,

I need to make a coordinate transform in order to simulate my system.

For that reason, I need to multiplicate the output field (Ex,Ey,Ez) by a 3x3 matrix in order to vizualize the solution in a cartesian coordinate system.

Does anybody know how can I do that?

cheers,
Felipe Beltran-Mejia

global evaluation for particles

$
0
0
Hi, I am trying to evaluate particles in derived values for results, how can I apply fpt.Nsel for an special area like (x>0,y>0), how to write this kind of expression?

Lorentz force calculation and implementation

$
0
0
I have got a clamped-clamped beam, with a DC current flowing through.
If the beam is surrounded by a DC magnetic flux density (orthogonal to the direction of the current flow), a Lorentz Force arises and the beam deflects.
If next to the beam there is another similar structure (not moving) and if the two blocks are conductive, the two form a capacitor.
The capacitance value depends on the magnetic flux density magnitude, as it depends of the distance between the two.
I would like to implement this system in COMSOL.

I was thinking of three steps:
1) Magnetic Fields (mf)
I can define the external magnetic flux density and the current density flowing through the spring. The Lorentz force x,y,z components are available as simulation outputs (mf.FLtzx, mf.FLtzy and mf.FLtzz). This step gives almost no troubles.

2) Solid Mechanics (solid)
I define a body load on the beam, defined as force per unit volume, using the "Lorentz force contribution (mf/al1)" option (COMSOL itself suggests this), and the simulation should return the corresponding displacement. But, if I do this, the solution gives 0 displacement as a result. No displacement is shown.
On the other hand, if I apply an "user defined" body load as [B*I*L/V], where B is the magnetic flux density, I is the current, L is the length of the spring and V is the volume of the spring expressed in [N/m^3], the simulation works.
Any idea of why this happens? It's annoying because the user should "manually" input the Lorentz force and I would like to avoid this.

3) Electrostatics (es)
I define two terminals (the two structures, the beam and the fixed one) and I can calculate the capacitance.
And here's the other problem: how can I "tell COMSOL" that the beam is not "at rest" but it's deformed (due to the Lorentz force application)?

Thank you!

Paolo

help

$
0
0
please if you have got any answer or any information about your question can we share the answer
Thank you

Exporting Data through batch mode without GUI

$
0
0
Hello, This is Weijia. I am using comsol without GUI in a Linux system. Here is my .mph as attached.

I use the command"comsol batch -inputfile silicon.mph -study std1 " to run it in Linux. However I found some difficulty to export the data in this file.

I want to export the temperature of the node with tag pev1 in a .txt file. What command should I type?

I am looking forward to your reply.

Weijia

Simulation in Finned Tubes

$
0
0
How to do heat transfer and flow simulation in Finned Tubes

I tried a lot ; but i could not able to give correct boundary conditions.

Please help me to solve this problem.

Solving Self - Consistent Schrodinger and Poisson with MATLAB and COMSOL LiveLink.

$
0
0
I'm a COMSOL 4.2a user. I need to solve 2D self-consistent Schrodinger and Poisson equation. Thus, I need to feed the potential values and the wavefunctions to the Schrodinger and Poisson equations as argument and solve iteratively.

The thing I need to know, how can I feed the updated the wavefunction and potential values as argument iteratively in my model? I have livelink with MATLAB and I intend to solve the problem inside a loop (i.e. Calling one models while passing the result of another as argument). I have solved the models with PDE solver but cant do it iteratively with LiveLink.

One more thing, is it possible to access the results directly from MATLAB and thus use them as variable ( though a class of course) from MATLAB for post-processing, like we get the solution matrix in MATLAB?

--
Thanks
Mehedi

resistance measurement

$
0
0
Hi,
I am working on joule heating and thermal expansion module.
I want to measure resistance between two terminals. No voltage is applied to the terminals, no current flow initially. Later through induction or channel formation current will flow and it will change the resistance.
How do i measure the resistance initially and after current flows.
Thanks
Viewing all 3058 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>