Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Magnetic field created by a DC wire in 3D

Please login with a confirmed email address before reporting spam

Good morning,

I have an issue with a 3D model. I am trying to show the magnetic field created by a DC current (10 amps) trough a straight wire, I have chosen magnetic fields and electrics (steady), and the result after calculate do not show this magnetic field, just a very low value... Even when rise the current (till 100 amps), it does not change... I have done it in 3.5 version in 2D and works very well. I do not know what I am missing.

Thanks in advance for help

Greetings


9 Replies Last Post 2021年4月20日 GMT-4 13:41
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月17日 GMT-4 11:46

If you post your model to the forum, it will probably be fairly simple for someone here to tell you what went wrong.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
If you post your model to the forum, it will probably be fairly simple for someone here to tell you what went wrong.

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月17日 GMT-4 14:35

thanks Robert,

sure, you can find it attached the image with the results (magnetic flux density)

thanks Robert, sure, you can find it attached the image with the results (magnetic flux density)


Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月17日 GMT-4 17:25

By model I am referring to the .mph file, not an image from post processing. I suggest you post the file with the .mph extension.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
By *model* I am referring to the .mph file, not an image from post processing. I suggest you post the file with the .mph extension.

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月18日 GMT-4 13:26
Updated: 4 years ago 2021年4月18日 GMT-4 13:26

The problem is even reducing the file, the size is 200 MB, and this forum only allows file uploading of 5 MB... I can share it with you by dropbox or something similar if you do not mind...

The problem is even reducing the file, the size is 200 MB, and this forum only allows file uploading of 5 MB... I can share it with you by dropbox or something similar if you do not mind...

Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月18日 GMT-4 14:40
Updated: 4 years ago 2021年4月18日 GMT-4 16:00

You can clear the solution and it will be much smaller. You can clear the mesh and it will be smaller still. (There are buttons and menu items to do that.) Then you can post a version of the .mph file that will, very likely, be small enough. Below is advice copied directly from Comsol Support:

Attaching Files: Note: If your .mph files are large, you can greatly reduce their size by selecting Clear All Meshes from the Mesh menu and Clear All Solutions from the Study menu, and then saving your .mph file. If you are using COMSOL Multiphysics® version 5.2a or later, then go to the File Menu > Preferences, Files section. For the Saving COMSOL application files setting, change the Optimize for setting to File Size. This reduces the saved file sizes for COMSOL application files.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
You can clear the solution and it will be much smaller. You can clear the mesh and it will be smaller still. (There are buttons and menu items to do that.) Then you can post a version of the .mph file that will, very likely, be small enough. Below is advice copied directly from Comsol Support: **Attaching Files: Note: If your .mph files are large, you can greatly reduce their size by selecting Clear All Meshes from the Mesh menu and Clear All Solutions from the Study menu, and then saving your .mph file. If you are using COMSOL Multiphysics® version 5.2a or later, then go to the File Menu > Preferences, Files section. For the Saving COMSOL application files setting, change the Optimize for setting to File Size. This reduces the saved file sizes for COMSOL application files.**

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月19日 GMT-4 13:43

thanks Robert,

yes, I did that and the size is still too big, it decreased from 500 to 200 MB.

any other possible mean to provide you the info?

thanks Robert, yes, I did that and the size is still too big, it decreased from 500 to 200 MB. any other possible mean to provide you the info?

Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月19日 GMT-4 15:52
Updated: 4 years ago 2021年4月19日 GMT-4 15:54

Well, I guess I can't help you after all. If I recall correctly, I have never had a Comsol .mph file consume 200 MB after the mesh(es) and all solutions have been fully cleared. And I have created many very large and complex models. So, I can only suspect that either: (1) you have not successfully cleared the mesh(es) and solution(s) and then resaved the file, or (2) there is something pathologically odd/wrong/defective about your .mph file. Perhaps someone else here can offer a suggestion. Good luck.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
Well, I guess I can't help you after all. If I recall correctly, I have never had a Comsol .mph file consume 200 MB *after* the mesh(es) and all solutions have been *fully cleared*. And I have created *many* very large and complex models. So, I can only suspect that either: (1) you have *not* successfully cleared the mesh(es) and solution(s) and then resaved the file, or (2) there is something pathologically odd/wrong/defective about your .mph file. Perhaps someone else here can offer a suggestion. Good luck.

Edgar J. Kaiser Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月20日 GMT-4 05:16

I second that. Even very complex models are hardly more than a few MB after clearing solutions and meshes.

-------------------
Edgar J. Kaiser
emPhys Physical Technology
www.emphys.com
I second that. Even very complex models are hardly more than a few MB after clearing solutions and meshes.

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2021年4月20日 GMT-4 13:41

Thanks both of you. Well, then surely I have not reduced it well. I am going to try again.

Thanks both of you. Well, then surely I have not reduced it well. I am going to try again.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.