Pig Simulation: Failed to create heat source field extractor
-
wrote on 24 Aug 2021, 12:46 last edited by
This error message is for the Acoustic simulation. Maybe you haven't run the Thermal simulation? You need to run the Thermal simulation first and this needs to have results before you can run the Acoustic simulation which uses the results from the thermal simulation
-
wrote on 24 Aug 2021, 12:47 last edited by
If you are having problems with the thermal simulation I'd need to see your thermal simulation settings, maybe attach a screenshot where I can see the settings?
-
wrote on 24 Aug 2021, 13:03 last edited by
-
wrote on 24 Aug 2021, 13:07 last edited by
Ah true, sorry I was misremembering ... Can you show me what your Thermal source settings look like?
-
wrote on 24 Aug 2021, 13:16 last edited by renardChien
-
wrote on 24 Aug 2021, 13:26 last edited by
Seems alright to me.. How big is the file? I can take a look at it if you want. You can send me the input file and I can try to take a quick look at it
-
wrote on 24 Aug 2021, 13:45 last edited by
The file is 3 GB. If you send me your email address, I can share a link with Microsoft Onedrive and you can access it online.
-
wrote on 24 Aug 2021, 13:53 last edited by
I'd just need the input file ... Is it still that big? I'll send you my email by private message
-
wrote on 24 Aug 2021, 14:54 last edited by
I do not know where to find the input file. I have one file that contains the entire project.
-
wrote on 24 Aug 2021, 14:57 last edited by
In S4L projects you have a smash file and then a folder with different _Input.h5 and _Output.h5 file ... I would need the .smash file (I incorrectly said input file earlier)
-
wrote on 24 Aug 2021, 15:38 last edited by
Here is a link to the .smash file.
-
wrote on 25 Aug 2021, 07:46 last edited by
Hi, seems I need to be in your network / university to access that link.. Won't let me download it
-
wrote on 25 Aug 2021, 09:57 last edited by
I think I must link your email address to share the .smash file.
-
wrote on 26 Aug 2021, 08:39 last edited by
I sent you my email by private message, let me know if you get it
-
wrote on 26 Aug 2021, 10:40 last edited by
I added your email to the OneDrive link. You should receive an automated email.
-
wrote on 26 Aug 2021, 12:44 last edited by renardChien
-
wrote on 26 Aug 2021, 13:57 last edited by
Ohh I see what the issue is now ...
You need to have results in the frequency domain (steady state). It then uses this steady state result to heat the tissue
The thermal solver uses the dP/dV field (deposited energy) from the acoustic solver as an input. Since your results are only in the time domain, then this field is not available (you can check it yourself by a) looking at your Field Sensor Settings with Overall Field and see that your recording domain is only in Time Domain ... and b) when you extract Acoustic results, you only get p(x,y,z,t) and you don't get p(x,y,z,f) or dP/dV)
You should therefore change your recording domain to "Frequency Domain" or "Frequency and Time Domain"
-
wrote on 26 Aug 2021, 14:05 last edited by
Some other notes about your simulation setup that should be useful
- For the acoustic simulation you will need a much higher resolution - To get an idea, you are stimulating at 1 MHz and your wavelength will be approximately 1500 (speed of sound in water) / 1 MHz = 1.5 mm (your current discretization is 3mm, way too course)
- You don't need to simulate the whole body, since the field will be localized near your target, you can limit the domain to a much smaller area encompassing the transducer and the nearby tissues directly under it (after your simulation just make sure the field near the boundaries are relatively small)
- Get rid of air and replace it with water if possible / appropriate. The time step used in the simulation is limited by the lowest speed of sound in the simulation domain (water = 1500 m/s, air = 300m/s). I'd recommend changing the background material to water (as you already do) and getting rid of the air in Yonsoon and replacing by water (this shouldn't be a problem)
- Thermal simulation are you sure you're using the correct simulation time? You seem to be heating it for 1microsecond only
- Again you can maybe limit the simulation domain, but maybe you don't need to since you don't need that fine a discretization as you would for the acoustic simulation
-
wrote on 26 Aug 2021, 14:08 last edited by
I also noticed that your transducer is composed of a source element and a reflector, to ensure you don't get back reflections you should set your reflector as a reflector (create new material property -> drag and drop reflector -> select Reflector in materials settings) and make sure the reflector is not in source settings
-
wrote on 27 Aug 2021, 12:15 last edited by
Performing the simulation with both frequency and time domain solved the previous error.
Now, I am limited by the student license for the size of the number of cells I can simulation. I must reduce the grid size to get a better resolution. However, I cannot adjust the Boundary- and Boundary+ settings in the main grid.
For the thermal simulation time, I was only simulating for a very short time to debug the system until I could get the thermal solver to work. I plan to increase the simulation time after adjusting the grid volume to a smaller region.