Skip to content

Sim4Life

651 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...

    237 703
    237 Topics
    703 Posts
    H
    I’ve been learning the Sim4Life software by following the tutorials. It is extremely helpful, but I ran into a problem. I hope I can get some help. Thank you! I was following the step-by-step Yoon-sun Arm Stimulation Neuron HTML Tutorial provided in the software. I finished the first part EM simulation, but when I ran the second part Neuron simulation, it failed immediately after it started. I’ve attached the project screenshot and log files to help with debugging. file:///C:/Users/Public/Documents/ZMT/Sim4Life/8.2/Documentation/html/Tutorials/Neuron/YoonSunArmStimulation.html To make sure it’s not my implementation problem, I also ran the prebuilt Yoon-sun Arm Stimulation tutorial project. Again, the EM simulation finished, but the Neuron simulation failed with the same logs. I suspect it's a compatibility problem with my laptop, but no clue how to dig deeper. To provide more context, I’m running it on a Alienware M15 Laptop, with AMD Ryzen7 5800H, 16GB memory, and RTX3060 GPU. screenshot: [image: 1742934789540-6afdb897-29bf-4d55-9d3c-b68e14eeae91-error_message.png] log message: [INFO]: iSolve X, Version 8.2.0 (16876), 64Bit Windows [INFO]: [INFO]: Running MPI version 2.0 on 1 process. [INFO]: Loading all solver modules: [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\EmFdtdSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\EmLfComplexValuedSolvers.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\EmLfRealValuedSolvers.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\EmLfUnstructuredSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\EmModeMatchingSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\FluidSolverSchur.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\FluidSolverSimple.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\GradientCoilSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\NeuronSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\ScalarSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\SonicSolver.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\ThermalSolverDouble.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\ThermalSolverSingle.x.dll' [INFO]: Loaded 'D:\Program Files\Sim4Life_8.2.0.16876\Solvers\ThermalUnstructuredSolver.x.dll' [INFO]: [INFO]: [INFO]: Simulation 'Neuronal Dynamics' started on 2025-Mar-25 15:41:29 [INFO]: [INFO]: Installed system RAM visible to this process: 15.9 GB [INFO]: [INFO]: Solver type: Neuron [INFO]: Input file name: D:\2025Winter\MagStim\Sim4Life\20250303_trial_v3_neural.smash_Results\5d8a6b11-c863-4e92-a477-578cdbb6515a_Input.h5 [INFO]: Input file generated by: Sim4Life, Version 8.2.0.16876 [INFO]: Output file name: D:\2025Winter\MagStim\Sim4Life\20250303_trial_v3_neural.smash_Results\5d8a6b11-c863-4e92-a477-578cdbb6515a_Output.h5 [INFO]: [INFO]: [2025-Mar-25 15:41:30] Checking out license feature 'NEURO_SOLVER', expiring the 1-apr-2026, version 8.2, (1). [INFO]: Using 8 threads to compute the neurons [INFO]: Number of neuron simulations: 159 [INFO]: Number of neuron groups: 159 [INFO]: Initialization input files: Current and peak CPU memory usage: 29.6 MB / 29.6 MB (current is 100.0 % of peak) [INFO]: Computing Neuron Simulations [INFO]: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [1] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [4] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [5] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [0] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [2] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [6] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [7] failed. [ERROR]: The log file contains: [ERROR]: Simulation of neuron group 'Neuronal Dynamics' [3] failed. [ERROR]: The log file contains: [INFO]: Elapsed time for 'Computing Neuron Simulations' was 00:00:01 wall clock time. [INFO]: Neuron simulations: Current and peak CPU memory usage: 31.8 MB / 32.1 MB (current is 99.0 % of peak) [ERROR]: At least one of the simulation groups failed. See messages above. [INFO]: [2025-Mar-25 15:41:31] Released license feature 'NEURO_SOLVER'. [INFO]: [ERROR]: Simulation 'Neuronal Dynamics' failed on 2025-Mar-25 15:41:31 [INFO]: Peak CPU memory usage: 32.1 MB (33701888 Bytes) [INFO]: [ERROR]: iSolve framework failed (see previous error messages).
  • 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

    127 375
    127 Topics
    375 Posts
    L
    @halder When I performed TI simulation using the spherical model, I found that if I changed the current direction of one pair of electrodes, the maximum value of the TI Max (x, y, z) slice remained unchanged. Changing the current of one pair of electrodes should have shifted from the original same-direction superposition to a reverse weakening, so why does it remain unchanged? Is it because Max Modulation only uses EM for calculations?
  • 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
    364 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
    1k 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
    589 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
    462 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
    443 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
    287 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
    677 Views
    S
    Thanks for your reply.