Python Scripting for COMSOL Multiphysics - COMSOL Programming

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 32

  • @testdemasqueentissus4491
    @testdemasqueentissus4491 8 месяцев назад +4

    Thanks a lot for the video. It will help me greatly to automate the data treatment for sweep of parameters resulting in more than 3000 results. Just if people have issues using the pip command, I had to use pip3 instead of pip to run the command.

    • @LearnwithBK
      @LearnwithBK  8 месяцев назад

      Great it helped. Please do subscribe and support our work ☺️

  • @crazypotten
    @crazypotten 10 месяцев назад +1

    Very Useful. Great Work !

    • @LearnwithBK
      @LearnwithBK  9 месяцев назад

      Glad it was helpful!. Keep subscribed to get updates 🙂

  • @MostafaPourali-f3z
    @MostafaPourali-f3z Месяц назад

    Very interesting, many thanks for the valuable file

  • @MohammadTabatabaeiManesh
    @MohammadTabatabaeiManesh 10 месяцев назад +2

    Awesome! one question, is that possible to import stp geometry with this library ?

    • @LearnwithBK
      @LearnwithBK  9 месяцев назад

      Yes but maynot be straight forward.

  • @ibtissemameur3302
    @ibtissemameur3302 11 месяцев назад +2

    great work

  • @shilahosseinzadeh9440
    @shilahosseinzadeh9440 5 месяцев назад

    very useful. thank you so much💯💯💯

  • @houssemrezgui8824
    @houssemrezgui8824 4 месяца назад

    Thanks for this good and useful video.I have a question regarding plot function. Is it possible to plot a model function (Temperature, velocity, flux, etc.) using python (i.e., MPH package) ?

  • @davidmackie3497
    @davidmackie3497 8 месяцев назад

    Very helpful video. Thank you.

  • @CyrilRyan-y9k
    @CyrilRyan-y9k 9 месяцев назад

    That's great.Thank you

    • @LearnwithBK
      @LearnwithBK  9 месяцев назад

      Glad you liked it! do subscribe and support our work :)

  • @jenspogo8656
    @jenspogo8656 7 месяцев назад

    Thank you so much!!

    • @LearnwithBK
      @LearnwithBK  7 месяцев назад

      You're welcome! Do support 😊

  • @HaiyangLi-v3e
    @HaiyangLi-v3e 6 месяцев назад

    I have been using COMSOL with Matlab for a long period. I have always had a penchant for using Python with Comsol. However, I checked the package. Why I feel, just too few funs available. Also, since the model cannot be saved as .py file, not like .m file, it's not easy to fully automatize the simulation. What do u think?

    • @LearnwithBK
      @LearnwithBK  6 месяцев назад

      Remember that its not a "official" solution. Its a workaround for the Java commands. So you can't expect complete automation say like ansys (they officially have python package). For example you don't need .py file if you only goal is to feed a particular parameters value and export the end result without modifying the model. That is a good real use case of this.

  • @wanted_d8203
    @wanted_d8203 7 месяцев назад

    Thank you. I have a problem. I tried to import a dxf file using this method but I get an error that the property is unknown. do know where the problem might be?
    model.modelNode().create("comp1");
    model.geom().create("geom1", 2);
    model.geom("geom1").feature().create("imp1", "Import");
    model.geom("geom1").feature("imp1").set("filename", dxf_file);
    model.geom("geom1").feature("imp1").set("repairgeom", "on");
    model.geom("geom1").feature("imp1").set("convert", "off");
    I get an error for "convert", and everything else is working correctly :(

    • @LearnwithBK
      @LearnwithBK  5 месяцев назад

      Its hard to understand with this information.

    • @wanted_d8203
      @wanted_d8203 5 месяцев назад

      @@LearnwithBK No worries, I've already found it. The manual has the problem. The correct command is "knit" not "convert".
      Thanks anyway.

  • @MovieHub520
    @MovieHub520 6 месяцев назад

    please make some beggining lacture comsol multiphysics with connected to Python

    • @LearnwithBK
      @LearnwithBK  6 месяцев назад

      Ok. Noted ..will make it soon

  • @chahinezmedjane2491
    @chahinezmedjane2491 6 месяцев назад

    Thank you so much

  • @aqibaslam925
    @aqibaslam925 7 месяцев назад

    can we derectly connect Comsol file with python in Google Colab ?

    • @LearnwithBK
      @LearnwithBK  7 месяцев назад

      I don't think that is possible directly. With server version it might be possible but I don't have access to it.

  • @tilkesh
    @tilkesh 4 месяца назад

    Thank you

  • @usamaraza8365
    @usamaraza8365 7 месяцев назад

    can tou share your email or contact link

    • @LearnwithBK
      @LearnwithBK  7 месяцев назад

      Check description.

    • @LearnwithBK
      @LearnwithBK  7 месяцев назад

      Contact via LinkedIn or email whatever easy. bibhatsu @ outlook.com