Skip to content

Simulations & Solvers

271 Topics 805 Posts

FDTD, Low-Frequency, Neuron, Mode-Matching, Flow, Acoustics, etc...

Subcategories


  • FDTD, Low-Frequency, Neuron, Mode-Matching, Flow, Acoustics, etc...

    16 40
    16 Topics
    40 Posts
    C
    Hello, To use multiple instances of the same HOC file in a single simulation, the neuron model must be defined as a HOC template (see Manual section 2.13.4.7.2, “HOC Templates”). In a non-templated HOC file, section names are defined globally. Loading the file more than once therefore creates duplicate section names, which NEURON does not permit. A template gives each neuron instance its own namespace, allowing multiple instances to be created and connected without naming conflicts. Please also ensure that the HOC template meets Sim4Life’s compatibility requirements, including matching the file and template names and placing the compiled mechanisms in the same folder as the HOC file.
  • Unable to see 1g and 10g SAR Values

    2
    0 Votes
    2 Posts
    1k Views
    ofliO
    Dear Shreya, I assume you meant simulated 1g and 10g SAR values. If you are referring to dipole antenna tutorial, it is not possible to extract SAR values since the simulation project does not contain any lossy object - it is just a dipole antenna in free-space. Please check "SAR in a Flat Phantom" tutorial and section 3.1.4 of Sim4Life tutorial document for details related to SAR simulation and extractions.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Issue with simulation of Temporal Interferece on a head model

    3
    0 Votes
    3 Posts
    2k Views
    Paria M.P
    Dear AntoninoMC, Thank you for your comprehensive solution!!! Following your advice, I assigned distinct priorities to each tissue, and there is no more need for boolean operations (subtraction). This approach proved to be completely successful.
  • Extracting A/H fields from EM LF Electro QS simulations

    2
    0 Votes
    2 Posts
    1k Views
    AntoninoMCA
    Hi @tcs, EM LF Electro QS simulations are electric simulations executed in the LF approximation, where the electric and the magnetic fields are decoupled. Therefore, the electric simulations do not produce any magnetic-related quantity (H and A-field). In order to simulate problems involving magnetic fields, one of the EM LF Magneto solvers need instead to be used). If your problem involves radiofrequency EM fields instead (e.g. above 1MHz), the EM LF solvers may be inadequate and you should use the FDTD solvers. All the best!
  • waveguide modes tool dieletric material

    2
    0 Votes
    2 Posts
    1k Views
    ofliO
    Hi Micol, Did you model the waveguide filling (where you placed the waveguide source) and set the material parameters of this object correctly in the simulation settings?
  • File is not opening

    2
    0 Votes
    2 Posts
    1k Views
    ofliO
    Hi, please send the file to s4l-support@zmt.swiss address. Thanks.
  • Simulation failure in multiport simulations

    2
    0 Votes
    2 Posts
    1k Views
    S
    Something must be wrong in your simulation setup. It is unlikely to be due to the fact that it is a multiport simulation (since under the hood a multiport simulation is just a bunch of "single" FDTD simulations). I would suggest you check the voxels of your simulation (View Voxels) and ensure that they accurately represent what you are trying to simulate. Pay special attention to the sources and the connectivity between the sources and the various PEC elements.
  • Acoustic Simulation - Different Frequencies

    1
    0 Votes
    1 Posts
    673 Views
    No one has replied
  • Nanoparticle photothermal therapy modeling

    2
    0 Votes
    2 Posts
    1k Views
    I
    Hi Anna, I see that nobody answered to your question. Were you able to run this type of simulation? I would like to to a phototermal therapy as well using metallic nanoparticles with a laser. I am not sure if with sim4life this type of simulation can be done or not. If you could tell your experience on this, it would be great. Thanks in advance for your time and help, All the best, @AnnaGol
  • define source

    2
    0 Votes
    2 Posts
    1k Views
    H
    Hi Michael, Yes, this sounds reasonable. You define the frequency in the Setup settings of the simulation, and you define three boundary conditions, -1, +1, and 0V. Best, Habib
  • I'm not getting the TMS example tutorial to run

    2
    0 Votes
    2 Posts
    1k Views
    H
    Hi Marcus, This doesn't appear to be related to Windows Defender. However, from the log you pasted, it is not exactly the tutorial of TMS. The grid is different than what is described in the tutorial, and there is an additional object in the simulation "Reference_Plane". Something in your setup is not correct anymore and cause the solver to fail. With the amount of information I have here, I cannot suggest a solution. Please try to run the tutorial as it is (maybe open the project file and run it, instead of building it from scratch), and see if this one fails too. Best, Habib
  • PEC extension error in edge source

    2
    0 Votes
    2 Posts
    1k Views
    ofliO
    Hi @VigneshYork Please carefully check that the voxels of the edge sources are correctly generated. You can use the "Connectivity" mode under in Voxel Viewer to check that the edge sources are correctly connected. If that is not the case, you need to work on the grid to fix the issue.
  • ERROR: An aXware function call failed and reports:

    2
    0 Votes
    2 Posts
    1k Views
    ofliO
    Hi @wouterverhelst This error can appear with simulations having a non-optimal grid with at least one very small cell leading to a very small step size. Could you please inspect the grid in your simulation and see if it can be improved? Please use "Connectivity" option in voxel view to make sure that the source is connected. If possible, please share more info, for example, parts of the log file where you can see min grid step, time step and initialization of source(s): [INFO]: Number of cells: … [INFO]: Number of cells including PML: … [INFO]: X: Range [.. ... .. ] with minimal .. and maximal step .. [m] [INFO]: Y: Range [.. ... .. ] with minimal .. and maximal step .. [m] [INFO]: Y: Range [.. ... .. ] with minimal .. and maximal step .. [m] … [INFO]: Simulation Time Step: … sec … [INFO]: Sources: [INFO]: Initializing edge source Lines 1 (Sources) … …
  • Resonance frequency changes with type of voxeler used

    1
    0 Votes
    1 Posts
    699 Views
    No one has replied
  • Simulation Failed (Memory request)

    Solved memory fault
    3
    0 Votes
    3 Posts
    2k Views
    L
    Dear Habib, Works! Thank you!
  • Please need urgent help

    2
    0 Votes
    2 Posts
    1k Views
    L
    Hello Rehmanuzair, I think the problem is about the system connection You have to go to task manager then you find the networking where you connect the system. and you will be able to Run.
  • How to use multiple GPUs for a simulation?

    2
    0 Votes
    2 Posts
    1k Views
    M
    Could you paste the whole log? If the problem runs in 1 GPU, could you test that? Can you try reducing the grid resolution and see if it runs successfully then?
  • How to simulate a DBS intervention

    1
    0 Votes
    1 Posts
    783 Views
    No one has replied
  • Simulation failed error - how to know what went wrong

    3
    0 Votes
    3 Posts
    2k Views
    M
    Hi, "bad allocation" usually refers to errors due to not enough memory. GPUs have limited on-board memory and if the simulation size exceeds this, it fails to run. I would advice to check your system memory status, and if the simulation is too heavy, using a coarse grid (less MCells) can help.
  • Define what GPU to use in a multi-GPU compute environment

    4
    0 Votes
    4 Posts
    2k Views
    T
    @Mélina This is close to what I want but not exactly. I still want ARES to say I can use both GPU's but I want to be able to say "for simulation 1 run on GPU0, for simulation 2 run on GPU1" . Is there anyway to do this? I tried messing around with the concurrent jobs number (setting it to 2 or 3 or 1) in ARES but I don't believe it's working correctly as I still am only running 1 simulation at a time in the queue.