Skip to content

Sim4Life

653 Topics 2.1k Posts

Subcategories


  • Installing Sim4Life and configuring licenses

    34 119
    34 Topics
    119 Posts
    G
    This looks like the drivers for the dongle are missing or have not been installed. Did you check the manual on how to install drivers for Linux? Also, it would help if you send us the full log. You can do that by emailing us at: s4l-support-group@zmt.swiss Regards, Guillermo
  • Working with CAD models

    57 193
    57 Topics
    193 Posts
    N
    Hi @bryn, I'm meshing an implanted device as a faceted mesh which is then embedded in an octree mesh. This is all through the Python API.
  • Working with models from the Virtual Population

    55 257
    55 Topics
    257 Posts
    brynB
    This short video demonstrates how users can add details to Virtual Population models in Sim4Life https://youtu.be/kYT6F9A0Pcc Here a toe nail is added by drawing a patch, and extruding the patch inwards with a thickness of 1mm or 2mm. The resulting solid can be given higher priority in the Simulation (in voxeling settings), overriding the material property of the skin.
  • FDTD, Low-Frequency, Neuron, Mode-Matching, Flow, Acoustics, etc...

    238 704
    238 Topics
    704 Posts
    A
    I want to clarify the value of the "wire radius" parameter once again. Is this the radius of the diameter of the coil cooper wire, in our case copper, or the radius of the copper coil surface (source)?
  • Postprocessing results

    107 304
    107 Topics
    304 Posts
    P
    Hi, I'm trying to use MATCH for a simple antenna setup. Matching an impedance of 46.3627+255.72i @ 2.972e8Hz it returns this circuit: [image: 1739971849859-switched.png] With new impedance 92.4479 + 87.3272i. I tried to match with an online matching tool and noticed that when I manually exchange the capacitances of the two capacitors shown in the picture (keeping the circuit setup), it works and I find a new impedance of 50.0002+0.000303985i. Strangely, when I tried matching in the Dipole Tutorial I did not encounter this behavior and everything worked as it should. Do you have any idea where I might be going wrong? Please let me know if you need any more information as I'm new to this. Thanks!
  • Scripting interface for Sim4Life

    128 376
    128 Topics
    376 Posts
    L
    [image: 1744722947729-da8373d6-5f15-4ffb-be6f-fd806be28621-image.png] The simulation suddenly encountered this error, even though the same code was used previously without any issues. import numpy import s4l_v1.analysis as analysis import s4l_v1.document as document import s4l_v1.model as model import s4l_v1.units as units from s4l_v1 import ReleaseVersion from s4l_v1 import Unit try: # Define the version to use for default values ReleaseVersion.set_active(ReleaseVersion.version8_2) # Creating the analysis pipeline # Adding a new SimulationExtractor simulation = document.AllSimulations["0_17_35_29"] simulation_extractor = simulation.Results() # Adding a new EmSensorExtractor em_sensor_extractor = simulation_extractor["Overall Field"] em_sensor_extractor.FrequencySettings.ExtractedFrequency = u"All" document.AllAlgorithms.Add(em_sensor_extractor) # Adding a new CurrentExtractor inputs = [em_sensor_extractor.Outputs["EM Potential(x,y,z,f0)"], em_sensor_extractor.Outputs["J(x,y,z,f0)"]] current_extractor = analysis.extractors.CurrentExtractor(inputs=inputs) current_extractor.IsoSurfacePerCentThreshold = 30.0 current_extractor.UpdateAttributes() document.AllAlgorithms.Add(current_extractor) except Exception as exc: import traceback traceback.print_exc() # Reset active version to default ReleaseVersion.reset() raise(exc)
  • Running Sim4Life over a network

    4 7
    4 Topics
    7 Posts
    ofliO
    Hi, Please allow me to share here the response we sent you via the Sim4Life support email so that other users can benefit from your questions. The default machine provides 500GB of storage, and you are running out of space for this project. If your results require more than 500GB, consider upgrading to a higher-tier machine with greater storage capacity. Alternatively, you could reduce the size of your simulation project by splitting it into multiple smaller simulations. This would allow you to continue using the default tier. Additionally, you might optimize your sensor settings, such as by creating smaller sensors and recording data for specific volumes of interest, rather than using an Overall Field sensor.
  • The effect of electromagnetic field on the temperature of human tissues

    1
    0 Votes
    1 Posts
    374 Views
    No one has replied
  • S4L is unable to read and load my project

    18
    0 Votes
    18 Posts
    3k Views
    ali.oezenA
    THank you very much for the hints.
  • How to export images from Sim4Life Analysis Results

    image export png jpeg
    5
    0 Votes
    5 Posts
    2k Views
    M
    That works! If it's for a 2D plot, you can always right click and export the data to an excel or csv file and then work with that if you'd prefer
  • Optimal performance

    3
    0 Votes
    3 Posts
    611 Views
    SylvainS
    The full version has the same performance as the Light version: it can just deal with bigger problems. Note that the low-frequency solvers are not GPU-accelerated, so if you are using that the GPU is anyway not used. If you are using the FDTD solver instead, it is accelerated by the GPU but its performance might be severely affected by the frequency of your simulation (the lower the frequency, the more iteration the FDTD method has to do in order to reach convergence). If you are in a regime where the quasi-static approximations hold, I would strongly advise you to use the LF solvers.
  • Editing the excitation signal

    2
    0 Votes
    2 Posts
    477 Views
    SylvainS
    I think your signal was fine, but your settings for the Field Sensor need to be changed.
  • Invalid Bounding Box Error

    2
    0 Votes
    2 Posts
    456 Views
    SylvainS
    2kHz will probably not be feasible in most propagating media, because the wavelength will simply be too large compared to the grid resolution your geometry requires (leading to unreasonably large time steps). You might want to check for e.g. what your grid look like, especially the padding at the boundaries of your computational domain.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • CEM43 / Arrhenius Thermal Damage

    1
    0 Votes
    1 Posts
    291 Views
    No one has replied
  • how to model a bent wire with a fixed length?

    10
    1 Votes
    10 Posts
    1k Views
    S
    Thanks for the code. Actually I need to model some wires with the fixed length, with one part in the brain in different spots and the remaining out of the brain, It takes a long time to model each one and I'm looking for a way to make them in a shorter time. Thanks.
  • grid resolution of wire and insulation

    3
    0 Votes
    3 Posts
    717 Views
    S
    Thanks for your reply.