- 29
- 230 329
Jaf-Science
Canada
Приєднався 22 сер 2015
Science, Engineering, and Educational Videos.
Subscribe for tutorials of Comsol Multiphysics and other engineering tools.
Feel free to ask questions or put suggestions in the comments section.
Subscribe for tutorials of Comsol Multiphysics and other engineering tools.
Feel free to ask questions or put suggestions in the comments section.
Moving mesh- electrostatic levitation simulation using Comsol Multiphysics (part 2)
This tutorial demonstrates the use of a PD controller (from the built-in PID tool in Comsol) to stabilize the levitation of a charged object, which is inherently unstable. This is an application using a feedback control loop and a moving mesh. The output of the controller is used as the input voltage that creates the required electric field.
Instead of using the solid mechanics interface, the displacement of the sphere is calculated using 'global equations'.
Part 1: ua-cam.com/video/KUcHS7KZNRY/v-deo.html
00:00 Introduction
00:58 Global equations
04:28 Moving mesh
05:33 Control variable
06:58 PID controller
11:36 Time solver
14:16 Results
Please subscribe and feel free to ask questions if anything is unclear!
Instead of using the solid mechanics interface, the displacement of the sphere is calculated using 'global equations'.
Part 1: ua-cam.com/video/KUcHS7KZNRY/v-deo.html
00:00 Introduction
00:58 Global equations
04:28 Moving mesh
05:33 Control variable
06:58 PID controller
11:36 Time solver
14:16 Results
Please subscribe and feel free to ask questions if anything is unclear!
Переглядів: 7 644
Відео
Electrostatic levitation- simulation of static equilibrium using Comsol (part 1)
Переглядів 2,8 тис.3 роки тому
This tutorial shows a 2D axisymmetric model of a sphere levitating by electrostatic attraction. The sphere levitates between 2 parallel plates. A certain level of electric potential needs to be applied to the top plate such that the electrostatic force exerted on the sphere balances the weight of the sphere. This value is unknown so the 'global equations' feature should be used to compute it. A...
Heat transfer simulation of heat source with fins using Comsol
Переглядів 17 тис.3 роки тому
This tutorial shows a 3D heat transfer model of a computer chip (heat source) cooled by fins (heat sink). A stationary study with parametric sweep is used to check the effect of increasing fin length on the maximum temperature of the chip. 00:00 Intro 00:20 Geometry 04:41 Materials 06:35 Physics 11:05 Mesh 11:50 Solution 14:15 Results Please subscribe and feel free to leave a comment!
Modelling cylindrical permanent magnets with radial magnetization using Comsol Multiphysics
Переглядів 13 тис.3 роки тому
This tutorial demonstrates how a permanent magnet with a cylindrical shape and radial magnetization can be modelled in Comsol by defining a cylindrical coordinate system. The video shows an example of an array of 8 magnets that is used in some types of DC motors. The "magnetic fields, no currents" interface is used to reduce the model size. You can also use the "magnetic fields" interface. 00:0...
Simulation of temperature distribution in water-cooled induction heating coil - Comsol Multiphysics
Переглядів 14 тис.3 роки тому
This model shows how an induction heating coil can be kept cold by making water flow through it. The coil is supplied with a continuous sinusoidal current input and it heats up due to Joule heating (resistive heating). The steady-state temperature distribution of the coil is obtained. Preventing the coil from heating up is important for safety. The simulation uses 3 physics interfaces (magnetic...
Computing beam stresses using the beam interface in Comsol Multiphysics
Переглядів 2,9 тис.3 роки тому
This tutorial shows how the specialized beam interface in Comsol can be used to compute the stresses and bending moments in a beam without the need to build the beam geometry. This is especially useful if the beam has a complex cross-sectional shape like an H profile. The video also shows how a distributed load can be inserted using a function. If only point loads are used then the beam interfa...
Computing axial stresses in a truss using Comsol Multiphysics (truss interface)
Переглядів 1,2 тис.3 роки тому
This tutorial shows how the axial stresses and forces in a truss can be computed using the truss interface in Comsol. A 2D truss is shown. The system is discretized using linear truss elements. The solution obtained is exact and can be verified by solving the truss problem by hand using nodal force equilibrium. 00:00 Introduction 00:50 Geometry 02:25 Material 03:00 Physics 05:27 Mesh and Study ...
Modelling a simple transformer and defining custom equations using Comsol Multiphysics
Переглядів 8 тис.3 роки тому
This tutorial shows how a basic step-up transformer can be modelled in Comsol and how to define custom equations which can be used in the model. Physics variables can be used to define equations and you can apply operators such as integration, average, etc. In this example I compute the core loss due to hysteresis (eddy current loss in neglected). Winding copper loss is already defined and calc...
Solving an electrical spice circuit using Comsol Multiphysics
Переглядів 11 тис.3 роки тому
This tutorial demonstrates how the 'electrical circuit interface' in Comsol can be used to solve for currents and voltages in a spice circuit. Constructing a circuit can be simply done by inserting the desired electrical components and defining the connections by specifying node numbers. Any node numbers can be used as long as the numbering is consistent for all components. The electrical circu...
Brinell hardness test simulation using Comsol Multiphysics
Переглядів 8 тис.3 роки тому
This tutorial shows an example of Brinell hardness test which is used to measure the hardness (resistance to plastic deformation) of materials. Aluminium is used as the test sample and a 2D axisymmetric model is used to simulate the plastic deformation in the sample caused by the mechanical contact stress from the indentor. The Brinell hardness number (BHN) is then calculated using the diameter...
Modelling nonlinear elastoplasticity of a material using Comsol Multiphysics- Structural mechanics
Переглядів 12 тис.3 роки тому
This tutorial shows a simple example of how non-linear plastic deformation can be modelled using the solid mechanics physics interface. The applied force is gradually increased to a maximum and then reduced to zero. The resulting stress-strain curve is hysteretic due to permanent plastic deformation. The slope of the stress-strain curve when unloading is equal to the slope of the curve in the i...
Moving mesh introduction- domain rotation example in Comsol Multiphysics
Переглядів 19 тис.3 роки тому
This Comsol tutorial introduces moving (or deforming) mesh using 2 methods- (a) domain movement that causes deformation of the adjacent mesh elements and (b) domain movement with disconnected mesh that doesn't affect adjacent elements. The 2nd method uses a discontinuous mesh across the domains. This requires a 'Form Assembly' operation in the geometry section to group the domains together with...
Induction heating simulation of an iron bar using Comsol Multiphysics
Переглядів 36 тис.3 роки тому
This tutorial explains the steps for modelling induction heating of a metallic bar. The variation of temperature distribution over time is solved using a 2D axi-symmetric model. This multi-physics problem uses the magnetic fields and heat transfer interfaces in Comsol. Chapters: 00:00 Introduction 01:48 Geometry 03:40 Materials 08:14 Magnetic fields 09:22 Heat transfer 11:16 Materials 12:37 Mes...
Modelling magnetic hysteresis and producing hysteresis loops using Comsol Multiphysics
Переглядів 9 тис.3 роки тому
This tutorial illustrates the steps to model magnetic hysteresis of a ferromagnet within a varying magnetic field. The hysteresis loops are produced via time-harmonic magnetic field that is generated from input current of different amplitudes . The model is 2D axisymmetric and is run in the time domain. Sections: 00:00: Introduction 00:50: Geometry 02:25: Materials 03:43: Physics 08:27: Mesh 09...
Using symmetry in an electromagnetic simulation in Comsol Multiphysics (AC electromagnet)
Переглядів 7 тис.3 роки тому
This tutorial shows how planes of symmetry can be used in a 3D model to reduce the finite element model size and make the simulation faster. Two types of symmetry boundary condition can be used: magnetic insulation when the field lines are tangent to a boundary, and magnetic conductor when field lines are normal to a boundary. This video is a follow-up of the AC electromagnet tutorial. Check th...
Modelling an AC electromagnet using Comsol Multiphysics
Переглядів 15 тис.3 роки тому
Modelling an AC electromagnet using Comsol Multiphysics
Modelling a Helmholtz coil using Comsol Multiphysics
Переглядів 8 тис.3 роки тому
Modelling a Helmholtz coil using Comsol Multiphysics
Modelling a horseshoe permanent magnet using Comsol Multiphysics
Переглядів 20 тис.3 роки тому
Modelling a horseshoe permanent magnet using Comsol Multiphysics
Using Mendeley to cite and manage references in Microsoft Word (quick demonstration)
Переглядів 1123 роки тому
Using Mendeley to cite and manage references in Microsoft Word (quick demonstration)
Physics AS Chapter 2A - Fluids (summary of main concepts)
Переглядів 1304 роки тому
Physics AS Chapter 2A - Fluids (summary of main concepts)
Physics AS Chapter 1A - Motion (summary of main concepts)
Переглядів 1134 роки тому
Physics AS Chapter 1A - Motion (summary of main concepts)
CFD simulation of fluid flow through annulus pipe using ANSYS Fluent
Переглядів 2 тис.6 років тому
CFD simulation of fluid flow through annulus pipe using ANSYS Fluent
Designing a simple bottle in Autodesk Inventor
Переглядів 1,8 тис.6 років тому
Designing a simple bottle in Autodesk Inventor
Solving a linear programming problem using solver tool in MS Excel
Переглядів 5216 років тому
Solving a linear programming problem using solver tool in MS Excel
Using Solver in MS Excel to minimise a function of one variable
Переглядів 1,2 тис.6 років тому
Using Solver in MS Excel to minimise a function of one variable
Solving system of linear equations in MATLAB
Переглядів 3726 років тому
Solving system of linear equations in MATLAB
i do the same step but my global equation option is faded and not working
Hi sir. This video is very useful. Can you show me how to display the rotational displacement in the Results section?
Hi sir, i want create c type core and solenoid coil for create magnetic field, which software i will use sir
Hi, can you please explain the geometry, because in the video I can see only the air space part and not the coil part, the mirror coil and the reflect part
I don't understand your question. Can you clarify or elaborate?
hi, i am trying to simulates the iron core lamination but the anistropic model (neuberts papers) propose but I don't have good results with it (skin effect is causing density flux over the window), have you some advice to how yo proper implement laminated core on comsol?
So your core is made of laminations that are separated by an insulator? I can think of two options: (1) I would suggest splitting the core into sections (using planes) to represent the laminations. Then insert 'surface current density' on the insulation planes and specify the current to be zero in the direction perpendicular to the laminations. (2) Define a custom material where the electrical conductivity of the core in the direction perpendicular to the laminations is close to zero. This simplification resembles the effect of the laminations wherein the eddy current cannot flow between laminations. Option 2 might be easier. Give it a try!
@@JafScience HI, thanks for your suggestion, actually the ansitropic material is the electrical conductivity matrix with zero on the direction perpendicular to the lamination. But, so far, I have tried several ways for do it (that's why I mentioned neubert paper) but the results are kinda bad, it's like the core is just a solid block . The other one maybe would work but It seems heavily in computational time and I don't think my pc would handle it. However, I would give it a try with few lamination to see what happen. Thanks for your suggestions!
You're right, you may significantly increase the number of mesh elements if you divide the geometry. Try using swept elements. When you say the results are bad do you mean electricity can still flow perpendicular to the laminations? Can you try putting a high electrical conductivity along that direction to see if the results look worse or the same?
@@JafScience when I say bad I mean like the skin effect on the window get worse, see when I simule a high eddy current scenario (open circuit) the flux gets spikes only on the window of the core and the rest of it its low flux. Thats the same effect that a solid core has when high conductivity is applied to them. However I will see what happen if I try the opposite and try to understand the phenomena
@@angelmachuca4696 Without seeing the set-up and results it's difficult for me to assess but the main purpose of the laminations is to reduce the flow of eddy current across the core. Not sure how that'll affect the skin effect. My knowledge in electrical machines in limited so I could be missing something.
Man, I am doing a monofasic transformer with symetry and is driving nuts. For some reason I get 0 magnetic flux on the core and the induce current is 20 amps when it should be, at least, 143 amps; the worse par is that I try a 2D model and that one works perfectly! Still fighting to make de 3D symtetry model run XD.
If you're using the same physics in the 2D and 3D models, then the 3D model symmetry condition could be incorrect. Why are you using 3D if the 2D model works? Are you trying something more complex that cannot be reduced to 2D?
ua-cam.com/video/pFPFQ4iS6GA/v-deo.htmlsi=4N95FCD8qh68kO6a
Hi, Thank you. I need help regarding plastic strain, how can i measure plastic strain of this simulation? please
I thought of the following workaround: plastic strain= total strain (from results) - elastic strain. Elastic strain = yield stress divided young modulus.
@@JafScience Thank you so much! I want to get plastic strain results like Von mises stress in results section. but i couldn't
@@modrentechnologies9334 Von mises stress is not strain. You can plot total von-Mises stress and if you subtract yield stress you will get plastic stress.
Hi, can you share where you got the values for the initial yield stress, saturation flow stress, and saturation exponent that you used in this vid? thank you
Unfortunately I don't have the original source from which I extracted the information. But you can look up yield and tensile strength of specific aluminium alloys. if you get an estimate of the linear plastic modulus then you can use a best-fit curve to estimate the saturation exponent.
Okay, thank you@@JafScience
Any ways to ask you for a private consultation?
You can message on linkedin.
What is the temperature in the air
I added a fourth heat flux where it was the bottom boundary of the chip and it reduced the temperature by a noticeable 2 degC. Am I allowed to do this or is it already factored in when we made it a heat source?
In the video it was assumed that there is no air convection beneath the chip so no heat flux was added there. You may assume there is some heat transfer to other components through conduction. But using the same convective heat flux would not be realistic.
@@JafScience Yes that makes sense, thank you for replying!
Hi! it was helpful! In COMSOL Multiphysics, electrical circuit, is posible simulate an switch?
There isn't a direct option for adding a switch but you may do it indirectly. For example, you can add a resistor in a circuit whose resistance changes from low (close circuit) to very high (open circuit). This resistance can be defined by a function (such as step) in the time domain.
Hi! When I made this simulation according to the video, there was no magnetic flux in the iron oxygen body in the final result. Which step will cause this problem?
Did you use an air volume? If all steps in the video are followed you should get the same results.
@@JafScience Sorry. I'm new to COMSOL ,I don't understand the air volume and which step would use the air volume
@@Nami_Jhon Air volume is just a box around the components and we define air properties for it. This would allows the magnetic field to spread in space.
@@JafScience Thank you very much!!!! I have completed the simulation and found the issue. The version of COMSOL I am using has some differences in settings compared to the version you used. Once I made the necessary adjustments, it worked.🥳🥳thank you for your help
Oh that happens sometimes. Good job on resolving it! I'm glad it worked out.
Hi Jafar, Nice tutorial! How do you increase the size of fonts in the COMSOL GUI while making the video?
Can you do a simulation for transformer losses and draw Step by step
12:00
Thank you brother
Hi sir, can i ask you please about somethings, i want to undertand them anw i can pay for them... thank you
What are the questions you want to ask?
@@JafScience I am trying to simulate a biomechanical model for a seated human body.. I defin all the fixed joints and rigid domains and parametres.. but when i want to simulate the stress and strain I face some problems in comsol..if you can provide me with your contact to present or send the file to you.. i'll appreciaite that a lot
Can you send me a message on my twitter account?
@@JafScience yes sir send your account
Hi Jaf, It is pretty interesting tutorial, thank you. Could you tell me why the second method don't work for magnetic problem?
Did you apply magnetic continuity boundary condition?
If it means, magnetic flux conservation, the answer is yes. There isn't magnetic continuity in COMSOL, only continuity in the pair boundary.
Yes the latter is what I meant. Because the nodes move with respect to each other, we need a boundary condition to compute the magnetic field between them. That's what continuity does.
Thanks for the video. I followed the same video steps for mesh generation, but getting a problem in generating the swept mesh. Getting an error message: Problem in inverted elements. Any suggestion how to solve this problem?
In which component are you doing the swept mesh? Is it mapped or triangular? Can you try making it smaller?
@@JafScience It was mapped for the coil+ water.
Try triangular and smaller mesh on the face being swept.
@@JafScience Thank you.
Can you show for magnetostriction
Very helpful video for learning. Thank you so much.
i am not getting fillet or chamfer option in my software. i have the comsol multiphysics 5.6
do you think a simple test in comsol can be done using a cylindrical conductor with a sum of sine waves going through it, and then loop antenna/coil mounted on the outside of the conductor to see if they can read the signal on the line?
can I simulate a cylindrical conductor near a loop antenna showing that the loop antenna receiving the fields from the conductor in comsol? Trying to model something similar to wireless power transfer to show that the fields from the conductor being transferred to the antenna
Nice demonstration. How about adding a spherical or cylindrical magnet instead of a metal sphere and see the magnetic levitation.
Can you do General Relativity effects with Comsol?
I'm not aware of such capability. I never looked into it.
can we please have files with models just to make learning easier. please . . .
Is the model file available somewhere, or one needs to recreate it from scratch?
No it's not uploaded. You can create it from scratch.
can this model be used to model a multi-turn loop antenna?
For modelling Antennas I believe you need to use the RF module.
@@JafScience Will the RF module work with this geometry? I am trying to design a multi-turn loop antenna using a 200kHz bandwidth in COMSOL.
It can work with any geometry as long as the physics is defined properly.
@@JafScience If I use the magnetic field interface, will I be able to obtain a frequency plot?
@@JafScience when modelling a multi-turn loop antenna, I will have to use the magnetic field (mf) interface since I would have to adjust the amount of turns.
You can be a COMSOL Engineer with your skills and knowledge. (Or maybe you are already haha). Thanks again!
You're welcome! Glad you found it helpful!
Thanks for this, I have gained a new insight to work using deformed mesh. <3
Hi Please I have some questions as: 1- What are the advantages of COMSOL compared to Ansys or Abaqus? 2- Have COMSOL powerful built-in concrete models? 3- Can comsol model and do nonlinear analysis of reinforced concrete walls under cyclic reversible loading? 4- Can comsol capture the PINCHING effect of concrete during cyclic loading of the above case? 5- Can comsol capture the shear reduction strength of concrete during cyclic loading of the above case? 6-Can comsol define the bond slippage between steel bars and concrete automatically by built-in interface? Thanks
Comsol has a simpler interface and a more efficient solver (takes less time to solve using the same resources as ansys). It's especially good with multiphysics applications since you can connect any number of different physics using the same interface (ansys is poor in this aspect). As for concrete models, I've never used them so I don't know but they have a broad library so I'd imagine the stuff you're looking for are included somewhere within the structural analysis module.
Please, explain to me how you get that done because I'm getting only single green color with 0B graph
Hello, I currently have two permanent magnets and would like to know the magnetic field strength between them. Can you tell me how to do this?
why can u get 3D temperature fingure
It's a revolution of the 2D diagram because the model is axisymmetric.
Very nice and complete video 👍
can i contact you
Thank you so much. Can you make another video of Rf/u-wave heat or induction heat (But instead of an solid iron bar, if it is a pipe of steel AISI 4043 with 1mm thickness) ?
Thanks for the video. But everytime that i m trying to do the same procedure there is an error: - Feature: Time-Dependent Solver 1 (sol1/t1) Undefined value found. - Detail: Undefined value found in the stiffness matrix. There are 3645 equations giving NaN/Inf in the matrix rows for the variable comp1.u. at coordinates: (0.0098,0.005), (0.00985,0.005), (0.0099,0.005), (0.00994422,0.00495086), (0.00992211,0.00497543), ... There are 3645 equations giving NaN/Inf in the matrix rows for the variable comp1.w. at coordinates: (0.0098,0.005), (0.00985,0.005), (0.0099,0.005), (0.00994422,0.00495086), (0.00992211,0.00497543), ... and similarly for the degrees of freedom, NaN/Inf in the matrix columns. I really do not understand the reasons.
It looks like there's rigid body motion. Is the geometry constrained properly? Did you follow all steps for the contacts/physics/solver?
Thanks for your answer. I followed the same steps you did for the boundary load, contact, and physics, but I used different materials. The indenter, with a 2 mm radius, is made of PLA (polylactic acid) with a density of 1240 kg/m³, Young's modulus of 1639 MPa, and Poisson's ratio of 0.35. The sample, which is 5 mm tall and 10 mm wide, is made of NBR (nitrile butadiene rubber) with a density of 1000 kg/m³, Young's modulus of 4 MPa, and Poisson's ratio of 0.5.@@JafScience
Could it it be that the force is too much for these materials?
In this test, I used a maximum of 100 Newtons. And again the same error occurred.@@JafScience
Should I set "t1" in the parameters as shown in the error? Because in the "Definitions" part -->"Boundary System 1" --> "Coordinate names" - t1 (first), to(second) and n(third) are mentioned. Maybe that's why the error occurs. - Feature: Time-Dependent Solver 1 (sol1/t1) Undefined value found. ....@@JafScience
Would you please create a tutorial explaining the non-linear magnetic effects in the presence of an electric circuit interface?
I don't currently have access to Comsol, but I can do so when possible.
I would like to know how you learned this and are there any open resources so I can learn too.
I can't remember but learning involves experimentation with the software. You can also search for Comsol tutorials. They're available for free.
Thank you sir
really helpful, thanks!
Could you please tell me the difference between circuit [voltage)and circuit [current] in coil excitation
Circuit voltage fixes the voltage and calculates current using Ohm's law. Circuit current fixes the current and calculates the voltage accordingly. In high frequency AC applications, the two options can give different results because the effective resistance of the current carrier changes with frequency (skin effect). In such cases, Circuit current preserves total electrical energy, Circuit voltage does not (energy is lost).
Thank you sir
Hiya, I need you as a mentor for my thesis project. Can you please help me to pass my thesis related to comsol model of a transformer. i need to contact you via email. plzz
I have a new product and would like to have my magnets modeled. Is that something you could help me with?
What aspect of modelling do you need help with?
@@JafScience I have built a magnet pack that will go inside of oil and gas pipelines to pick up ferrous material. I am wondering if we could model the magnet pack to ensure I'm building it to pick up the optimum amount of ferrous material.
If you want to model small fragments of ferrous material, I'm not sure how to do that. If you want to study other related variables like how wide the magnetic field is and how strong it is in the region of interest, then that can be done.
Thanks for the tutorial. One question if you can help: @4:30 You define the magnetization of the North and South poles by typing in a remanent flux density of 1T along the z-direction (0,0,1). However, I want to model the magnet at some angle, so its magnetization should not be along the global z-axis. Then it wouldn't work? Can you recommend a different way in that case?
Do you wan the magnet itself to be tilted or the magnetization inside the magnet is at an angle? If the latter is what you want then you can find the flux component along each axis and enter them. It should work.
@JafScience thanks for the reply. It is the first option. I want to take the magnet (which has its magnetization fixed along one of it's own axes), and then rotate the entire magnet.
@@ppxtb To rotate the magnet itself, go to 'transformations' under Geometry and select 'Rotate'. Then right click on Definitions, go to Coordinate Systems, and insert Base Vector System. This will allow you to define a new cartesian coordinate system that is oriented with the magnet. When specifying magnetic flux in the physics, choose the new coordinate system and let the magnetic flux direction be along the axis of the magnet.
Thank you so much
A bit confused at 4:10. The unit of density is [kg/m^3] and the unit of area is [m^2]. Why the unit of the result is [kg] instead of [kg/m]?
It's true that you're selecting a 2D surface. But that surface is revolved to create a volume. So the density times volume gives mass in kg.
@@JafScience Got it. Thanks for your reply!