Skip to content

Simulations & Solvers

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

258 Topics 775 Posts

Subcategories


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

    13 35
    13 Topics
    35 Posts
    G
    Dear Geremia, Here is the procedure I use for S4L: Prerequisites: The Yale Neuron compiler 8.2.6 for Windows https://github.com/neuronsimulator/nrn/releases/tag/8.2.6 You can use newer versions, but this one works best with S4L. Create a directory for a particular neuron structure, at root level: hoc files, asc, etc. a subdirectory called 'mechanisms': all your mod files. From a console, run the Yale Compiler on your 'mechanisms' directory: > nrnivmodl if it succeeds, it will create a nrnmech.dll file. move the nrnmech.dll file to root level (where your hoc files are) and clean the 'mechanisms' directory - all the .c and .o files. Compress into a zip file the main directory (that contains the hoc files, nrnmech.dll and 'mechanisms' dir). Change the extension to .hocz Now, in S4L use the import button to import your new neuron model, your newly created hocz file. Regards, Guillermo
  • I'm not getting the TMS example tutorial to run

    2
    0 Votes
    2 Posts
    767 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
    567 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
    585 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
    398 Views
    No one has replied
  • Simulation Failed (Memory request)

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

    2
    0 Votes
    2 Posts
    619 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
    674 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
    419 Views
    No one has replied
  • Simulation failed error - how to know what went wrong

    3
    0 Votes
    3 Posts
    1k 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
    1k 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.
  • range db simulation

    2
    0 Votes
    2 Posts
    625 Views
    T
    Try and do it programmatically in the python scripter. Set one figure up how you want it then right click on the final slice viewer in the explorer tab and click "to python". Then just look for the bounds there, save the script, and use that for all of your other figures.
  • Errors during voxeling

    2
    0 Votes
    2 Posts
    674 Views
    brynB
    Yes, bad alloc means the memory could not be allocated. Try to reduce grid size, and ensure your subgrid is substantially smaller than the total computational grid.
  • Exporting touchtone files

    5
    0 Votes
    5 Posts
    1k Views
    T
    Thank you Ofli for your quick response. That was very helpful!
  • How to get isometric or uniform grid?

    Unsolved grid isometric uniform emfdtd
    1
    0 Votes
    1 Posts
    816 Views
    No one has replied
  • Current field simulation

    4
    0 Votes
    4 Posts
    1k Views
    M
    Dear Liu, Yes, in order to see any losses, you need to set at least a conductivity different to 0. I would advice you to check if you set correct electric properties in the material settings. Best
  • CEM43 license

    1
    0 Votes
    1 Posts
    441 Views
    No one has replied
  • Frequency sweep using LF model

    1
    0 Votes
    1 Posts
    351 Views
    No one has replied
  • Loss tangent setting for user defined material

    1
    0 Votes
    1 Posts
    365 Views
    No one has replied
  • Analysis - Empty Coil - Grid Fail

    2
    0 Votes
    2 Posts
    566 Views
    M
    Hello, Do you have any error message appearing in the console? If a grid cannot be created, you have to carefully check the grid settings, and ensure that the number of cells is not the big (if so, you can reduce it by adjusting the padding, for example).
  • Pop-up Alert Stops Stimulation

    3
    0 Votes
    3 Posts
    770 Views
    G
    Dear @habib, Just to inform you that has been solved the bug which was causing this pop-up window to appear, and which stopped the script from continuing until the "Ok" button was pressed: [image: 1649688752403-bug.jpg] However, this bug was caused by the code line, which appears in the image: "analysis.RefreshViewers()" With the new S4L v7.0, this line caused this bug for some reason. After removing it, it was possible to avoid that pop-up window. Just to highlight that finding this bug costed 10+ hours, due to the new update. Best, Guillem