@viniltc, the error looks like you do not have a simulation called "Simple ES" (the returned simulation is None). Please double-check the name, including white-spaces. You can also access by index (document.AllSimulations[0]).
There's no subgridding just a rectilinear / adaptive grid (you can create new grid settings and drag and drop solids or wireframes to these)
What you can do (at your own 'risk') is manually set the grid to the resolution you want and not use the automatic grid settings. Typically you want at least 10 points per wavelength (more is better) and the wavelength in air (343 / freq) and water (1500 / freq) are quite different.
Don't worry about the time step, just make sure it's fine enough, Sim4Life will then interpolate your function into it's own timestep as needed (so, you just need to be careful that your timestep is not too coarse such that Sim4Life won't be able to linearly (I think) interpolate it
Essentially, the answer is yes, its sufficient
Typically 1 MHz is way too large
wavelength = speed of sound / frequency
resolution = wavelength / 10
so, if you speed of sound in water is 1500 m/s and you want to run a simulation at 100 kHz, then the wavelength is around 15 mm, and the resolution should be at least 1.5mm
From the resolution and your domain size you can calculate the grid size
Grid Size: max. 20 Mio cells
I don't remember so well, but I'm pretty sure it's 1/timestep used to discretize / sample the signal. (Note that this is used to create a list of time points and pressure signals, but the acoustic solver then again reinterpolates this signal to it's own time step that is calculated from the Setup Frequency)
Setup Frequency is mostly ignored now that you have user defined source, it was mostly used as a frequency of the sources and for the final FFT analysis. However, if I remember correctly it is used to calculate the time step used in the solver, so make sure it is set to the highest frequency available in your sources
That expression was just a random signal to give the user an idea of how to input expressions. It seems in your case you want Element 5 to be sin(2 * pi * 0.5E9 *_t) and Element 6 to be sin(2 * pi * 0.75E9 *_t) if you want to excite one transducer at 500 KHz and the other at 750 KHz
User defined sources sets an equation which is then sampled / interpolated at that sampling frequency (fs = 1/dt)
@pastis Hello, Have you solved this question? can we compare the amount of electric field that reach the targeted region to evaluate the TI simulation ?
Hello,
It seems that you now have the Neuron installer and it is working, but something is missing in your setup.
Could you please check for error messages in the Console?
One possible reason could be that you have installed NEURON before Sim4Life completely finished its installation.
Please uninstall Sim4Life, install it again, and only after finishing install NEURON.
Hello,
Unfortunately there is no direct way from Sim4Life to limit the amount of RAM to allocate for the program. You may be able to do so using external tools that tap into the operating system's settings and manage the resources. But we are not aware of any and we did not test any that we would recommend.
The reason your PC is slowing down is because the OS switches to paging on disk instead of using fast RAM. Paging is slow and uses CPU resources. My guess is that even if you limit the RAM for Sim4Life, the solver will still need a lot more memory and it will either fail or use the disk for paging resulting in the similar slowing effect.
Hi @Pedro
The FDTD solver does not make use of any CPU parallelization and is actually not very suitable for CPU computation except for very small simulations. It is strongly recommended to run FDTD on GPU to benefit from much higher simulation speeds.
Hi, most likely you have some other boundary conditions that are affecting the solution. Please share a screenshot of your boundary condition settings, maybe there is a clue there.
Hello, Could you please explain a bit more what you mean by two operations and different results. Please provide any data or screenshots that you think would help us understand the problem.
@christos1996 when I reach into the "Sensors" setting at Simulation Settings (Neuron)], the option "Point "Sensor Tool" is not available to click into. I am sure I have load the model. So have you solved this problem? how to solve ? hope you can reply me .