Simulations & Solvers

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

212 Topics 626 Posts

Subcategories


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

    11 Topics
    27 Posts

    Hi! Can someone help me understand if it makes sense to calculate SAR statistics in a low frequency electrical stimulation (30 Hz)? Thanks!!

  • 1 Votes
    2 Posts
    566 Views

    By default, Sim4Life tries to use all available resources to start as many simulations as you submit or have cores or GPUs available. The first simulation usually starts fine, and the rest fail due to insufficient licenses.

    You have the option to limit the number of simultaneous simulations in the ARES tool. Please change the Resource Management Option from Concurrent Jobs to One Job at a time as in the attached screenshot.

    Ares3.jpg

  • 0 Votes
    3 Posts
    568 Views

    Thank you for the great explanation.

  • run two simulations on the same computer

    3
    0 Votes
    3 Posts
    219 Views

    That sounds like a neat setup you've got there with dual GPUs! Running multiple simulations simultaneously can definitely boost productivity. To tackle your issue, you might want to explore parallel computing techniques. This involves distributing computational tasks across multiple processors, in your case, GPUs. Look into frameworks like CUDA or OpenMP, which support parallel processing.Good luck, and if you're into cutting-edge tech, check out Quantum AI. They delve into the fascinating realm of quantum computing, which could revolutionize simulation and problem-solving in the future.

  • Convergence Level in S4L

    2
    0 Votes
    2 Posts
    60 Views

    A simulation can end in a couple different cases: If the specified level of convergence is reached, or if the specified number of periods are simulated. In the case of that tutorial, the simulation is set to run for 15 periods, and so it ended before a -50 dB convergence was reached. Convergence is a spectrum, and the level of convergence required for a given application is up to the user's discretion.

  • 0 Votes
    4 Posts
    66 Views

    Thanks Ofi. How can I fix this or is this something I need to account for?

  • tutorial not running

    1
    0 Votes
    1 Posts
    46 Views
    No one has replied
  • 0 Votes
    1 Posts
    33 Views
    No one has replied
  • FDFD solver tutorials

    1
    0 Votes
    1 Posts
    29 Views
    No one has replied
  • Fields data extraction after MQS simulation

    1
    0 Votes
    1 Posts
    46 Views
    No one has replied
  • Thermal external input file

    1
    0 Votes
    1 Posts
    44 Views
    No one has replied
  • Modeling Ferrite in an FDTD Simulation

    2
    0 Votes
    2 Posts
    53 Views

    Hi @arc Please check "Console" window (open it via menu VIEW | Console if it is not open) to see what kind of error you are getting. The reason for failed simulation might be related to something else. You can easily test with an existing tutorial example. For example,

    open Dipole Antenna Tutorial, model a rectangular brick next to the dipole, clone one of the existing simulation settings and drag&drop this new brick into the simulation set its material such that rel/ Permeability o 1e4 generate grid, voxel and run to see if it also fails
    I hope it helps.
  • Python API for Debye dispersive model

    2
    0 Votes
    2 Posts
    116 Views

    Yes,

    You need to import XMaterials and specify the material model to be linear dispersive, as in the following example (which should be easy to extend), where parameters for one Debye pole are assigned.

    import XMaterials as xm # Adding a new MaterialSettings material_settings = emfdtd.MaterialSettings() material_settings.ElectricProps.MaterialModel = material_settings.ElectricProps.MaterialModel.enum.LinearDispersive # Specify settings for dispersive poles material_settings.raw.ElectricDispersiveSettings.StartFrequency = 10.e6 material_settings.raw.ElectricDispersiveSettings.EndFrequency = 100000.e6 material_settings.raw.ElectricDispersiveSettings.Conductivity = 0. material_settings.raw.ElectricDispersiveSettings.Permittivity = 11.098 debye_pole_01 = xm.LinearDispersionPole() debye_pole_01.Active = True debye_pole_01.Type = xm.LinearDispersionPole.ePoleType.kDebye debye_pole_01[xm.LinearDispersionPole.ePoleProperty.kDebyeAmplitude] = 1.0 debye_pole_01[xm.LinearDispersionPole.ePoleProperty.kDebyeStaticPermittivity] = 22.67 debye_pole_01[xm.LinearDispersionPole.ePoleProperty.kDebyeInfinityPermittivity] = 11.098 debye_pole_01[xm.LinearDispersionPole.ePoleProperty.kDebyeDamping] = 3.234e-11 # Add dispersive poles to the Linear Electric Dispersion Viewer material_settings.raw.ElectricDispersiveSettings.Poles = [debye_pole_01]
  • 1 Votes
    2 Posts
    109 Views

    I suspect that this is because the grid from your LF simulation does not match the grid that you use in your isotropic and anisotropic simulations.

    The isotropic simulation runs fine because it does not use your cache file.

    The anisotropic simulation has stored those conductivity values expecting a specific grid.

    Try right clicking on the grid settings folder in the simulation from which you are creating your anisotropy tensor, select "Copy Grid Configuration", then "Paste Grid Configuration" on the anisotropic simulation.

    If you want to include features in your anisotropic simulation that you don't don't want to have simulated in your initial LF simulation, you can still include include objects in your initial simulation so that they are considered for the gridding without assigning them material properties, using them as a boundary condition or voxeling them. Just drag the object directly into the grid settings folder. That way your grid can always match.

  • 0 Votes
    2 Posts
    99 Views

    Hi @yiyang did it happen with one particular simulation project or does it always happen? Please (if you can) share the project with Sim4Life Application team via sending an email to s4-support@zmt.swiss to check. Thanks

  • 0 Votes
    1 Posts
    88 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Acoustic simulation

    2
    0 Votes
    2 Posts
    112 Views

    We use standard units in the acoustic solver, which means we're solving the wave equation in pressure which has units of Pa.

    Note though that the acoustic equation is Linear (careful, this doesn't apply to the nonlinear solver), which means that you can arbitrarily scale the input signal by a scalar and the output (in pressure) will be exactly the same and scaled by that same constant. (You need to be careful when you consider energy related quantitites which are something something pressure squared)

    Essentially, find the scaling factor between pressure and voltage (assuming linearity), then run your simulation with an arbitritrary amplitude and then scale the pressure output.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Import Voxels - How to Assign Materials?

    Solved
    6
    0 Votes
    6 Posts
    220 Views

    @dbsim4

    Answering my own question:

    In the Modelling tab (not simulation), each imported label/voxel type can be assigned a material in the Controller window.

    Auto Assign seems to work decently well if the materials in the file are well named.

    Probably should be done before dragging the model into the Simulation.

  • 0 Votes
    7 Posts
    258 Views

    @montanaro Thank you! The acoustic reflection simulation is now behaving and giving results which map to what you'd expect.

    Thank you so much for helping! Jean