Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Simulations & Solvers
  4. Pig Simulation: Failed to create heat source field extractor

Pig Simulation: Failed to create heat source field extractor

Scheduled Pinned Locked Moved Simulations & Solvers
28 Posts 2 Posters 3.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    montanaro
    wrote on 24 Aug 2021, 12:46 last edited by
    #4

    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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      montanaro
      wrote on 24 Aug 2021, 12:47 last edited by
      #5

      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?

      1 Reply Last reply
      0
      • R Offline
        R Offline
        renardChien
        wrote on 24 Aug 2021, 13:03 last edited by
        #6

        I updated the pig simulation with a Yasoon simulation. If I run the thermal simulation first I get an error message to run the acoustic simulation first, the thermal simulation. Also, the transcranial focused ultrasound tutorial uses the acoustic simulation first.

        000e6283-e329-419d-951e-678da19a0d19-image.png

        1 Reply Last reply
        0
        • M Offline
          M Offline
          montanaro
          wrote on 24 Aug 2021, 13:07 last edited by
          #7

          Ah true, sorry I was misremembering ... Can you show me what your Thermal source settings look like?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            renardChien
            wrote on 24 Aug 2021, 13:16 last edited by renardChien
            #8

            Yes. The source settings are shown here.

            62d18f9d-886c-41fe-8be9-bdc1f7950458-image.png

            1 Reply Last reply
            0
            • M Offline
              M Offline
              montanaro
              wrote on 24 Aug 2021, 13:26 last edited by
              #9

              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

              1 Reply Last reply
              0
              • R Offline
                R Offline
                renardChien
                wrote on 24 Aug 2021, 13:45 last edited by
                #10

                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.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  montanaro
                  wrote on 24 Aug 2021, 13:53 last edited by
                  #11

                  I'd just need the input file ... Is it still that big? I'll send you my email by private message

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    renardChien
                    wrote on 24 Aug 2021, 14:54 last edited by
                    #12

                    I do not know where to find the input file. I have one file that contains the entire project.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      montanaro
                      wrote on 24 Aug 2021, 14:57 last edited by
                      #13

                      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)

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        renardChien
                        wrote on 24 Aug 2021, 15:38 last edited by
                        #14

                        Here is a link to the .smash file.

                        https://unigech-my.sharepoint.com/:u:/r/personal/ryan_holman_unige_ch/Documents/seft_yasoon_17082021.smash?csf=1&web=1&e=jXVqne

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          montanaro
                          wrote on 25 Aug 2021, 07:46 last edited by
                          #15

                          Hi, seems I need to be in your network / university to access that link.. Won't let me download it

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            renardChien
                            wrote on 25 Aug 2021, 09:57 last edited by
                            #16

                            I think I must link your email address to share the .smash file.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              montanaro
                              wrote on 26 Aug 2021, 08:39 last edited by
                              #17

                              I sent you my email by private message, let me know if you get it

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                renardChien
                                wrote on 26 Aug 2021, 10:40 last edited by
                                #18

                                I added your email to the OneDrive link. You should receive an automated email.

                                1 Reply Last reply
                                0
                                • R Offline
                                  R Offline
                                  renardChien
                                  wrote on 26 Aug 2021, 12:44 last edited by renardChien
                                  #19

                                  Here is snapshot for the animation of the pressure field. The video is too large to upload.

                                  snapshot_seft_liver_pressure_3.PNG

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    montanaro
                                    wrote on 26 Aug 2021, 13:57 last edited by
                                    #20

                                    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"

                                    1 Reply Last reply
                                    0
                                    • M Offline
                                      M Offline
                                      montanaro
                                      wrote on 26 Aug 2021, 14:05 last edited by
                                      #21

                                      Some other notes about your simulation setup that should be useful

                                      1. 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)
                                      2. 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)
                                      3. 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)
                                      4. Thermal simulation are you sure you're using the correct simulation time? You seem to be heating it for 1microsecond only
                                      5. 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
                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        montanaro
                                        wrote on 26 Aug 2021, 14:08 last edited by
                                        #22

                                        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

                                        1 Reply Last reply
                                        0
                                        • R Offline
                                          R Offline
                                          renardChien
                                          wrote on 27 Aug 2021, 12:15 last edited by
                                          #23

                                          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.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes

                                          13/28

                                          24 Aug 2021, 14:57


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          13 out of 28
                                          • First post
                                            13/28
                                            Last post
                                          0
                                          • Search