Skip to content
  • 2 Votes
    1 Posts
    42 Views
    No one has replied
  • 0 Votes
    3 Posts
    315 Views
    P

    Dear Arjama,

    Thanks a lot for your reply and for your very detailed example. The problem I was referring to is in the line where you add TIMAM to the mask.
    If I run:
    inputs = [TIMAM]
    field_masking_filter = analysis.core.FieldMaskingFilter(inputs=inputs)

    where TIMAM = modulation_envelope(e_field_1, e_field_2, dir_vector=None)

    I get the error:
    field_masking_filter = analysis.core.FieldMaskingFilter(inputs=[TImax])
    File "C:\Program Files\Sim4Life_8.0.0.15165\Python\lib\site-packages\s4l_v1_api\analysiswrappers.py", line 231, in init
    self.Inputs[id].Connect(input)
    File "C:\Program Files\Sim4Life_8.0.0.15165\Python\lib\site-packages\s4l_v1_api\analysiswrappers.py", line 647, in Connect
    raise Exception("Can't connect ports")
    Exception: Can't connect ports

    So I think my problem is the creation of TIMAM. I Imagine it is not the TI envelope, but rather the TI Envelope inside some data structure that can be connected to the masking filter?

    Thanks again!

  • Cannot run tutorial

    Solved Simulations & Solvers
    3
    0 Votes
    3 Posts
    253 Views
    J

    Thank you very much. This fixed the issue. This was related to Ares also.

  • 0 Votes
    2 Posts
    406 Views
    H

    Hi Vasilis,

    The Hyperthermia Optimizer and Template are licensed products that are not part of the Sim4Life light student version.

    Best,
    Habib

  • Python API changes from SEMCAD 14.8 to SEMCAD 17

    Unsolved Python API
    2
    1 Votes
    2 Posts
    768 Views
    SylvainS

    The gridding algorithms are quite different in V17 compared to V14.8, so many options simply do not have a one-to-one conversion. The best strategy is probably to learn how to use the gridder in the GUI of SEMCAD 17 (in particular the Manual Grid Settings) and then use the "To-Python" function to auto-generate the corresponding Python scripts.

    I don't know V14.8 well enough to answer your other questions from the top of my head and my current V14.8 installation is acting up, so I can't help with your other questions right now. I will as soon as I fix my setup!

  • 0 Votes
    1 Posts
    506 Views
    No one has replied
  • How do grid settings work?

    Frequently Asked Questions
    5
    0 Votes
    5 Posts
    2k Views
    SylvainS

    @farhana said in How do grid settings work?:

    What is the relation between grid step and simulation period?

    there is not really any relation. One is the about the distance between 2 grid lines, the other is the duration of the simulation (in physical units, not the time it will take for the simulation to run).

    However, the time step is determined by the size of the smallest grid cell (a stability requirement of the FDTD method) and the number of time steps needed is determined by the size and number of simulation periods. So effectively, the total runtime depends simultaneously (and linearly) on both the grid step and the number of simulation periods.