How access to the derivative of temperature in custom field function calculator of the ANSYS FLUENT.

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024

Комментарии • 55

  • @karelvandenborre8836
    @karelvandenborre8836 3 года назад +1

    Thanks, was looking for this for ages!

    • @akamcae
      @akamcae  3 года назад

      You're welcome!

    • @papahabibi1402
      @papahabibi1402 Год назад

      Please I need how we calculate nusselt average pleasssse

    • @akamcae
      @akamcae  Год назад

      @@papahabibi1402 Hi, you can send me an email (najafi.fme@gmail.com). I can not tell you in the comment. We can have an online meeting and I will explain it to you.

  • @sss-bc6dz
    @sss-bc6dz 2 месяца назад +1

    Hi, after I set it up like this it doesn't show the temperature gradient and gives me this error message, do you know how to fix it?Info: Expert option for not freeing temporary solver memory is incompatible with adaption in parallel.

  • @muhammadkamran8288
    @muhammadkamran8288 3 года назад +1

    Thank you, it was of great help

    • @akamcae
      @akamcae  3 года назад +1

      You're welcome!

  • @maryyyyy_
    @maryyyyy_ Год назад +1

    Hi Mr. Hasan, thank you for this video. I got one question; can I use custom field function to calculate entropy due to heat transfer and friction? If so, may I know how to do so?

    • @akamcae
      @akamcae  Год назад

      Hi. Yes, it is possible. You can see the equations of entropy generation in the below article. After creating the equation in Fluent, you can calculate the volume integral of entropy generation in your domain.
      doi.org/10.1007/s00231-019-02615-z

  • @monagad472
    @monagad472 2 года назад +1

    How can I calculate the entropy production rate by heat conduction and direct dissipation in fluent

    • @akamcae
      @akamcae  2 года назад

      Hi, please send an email to me. I will send you a file. My email address: najafi.fme@gmail.com

  • @atulwithsmile
    @atulwithsmile 4 года назад +1

    this gives dT/dx or dy or dz, however, if we want to obtain dT/dn , then how can we obtain that?

    • @akamcae
      @akamcae  4 года назад

      For normal derivative, you should use the UDF code. I have not calculated the normal derivative but you can see some samples of UDF code about the normal derivative in the UDF Manual of ANSYS Fluent and CFD Online website.

  • @ilhemzeghbid4112
    @ilhemzeghbid4112 3 года назад +2

    Thank you sir,
    Is it possible to orient me on the procedure of calculating the entropy due to heat transfer (sh) and the entropy due to friction (sf), by what fluent calculates us as the total entropy ( st). Please help me. Thank you

    • @akamcae
      @akamcae  3 года назад

      Hi, please send me an email to send an article for you.
      My email: najafi.fme@gmail.com

  • @mohammadjamali6438
    @mohammadjamali6438 3 года назад +1

    Hi Mr Najafi, How we can define new Field Variable At Initialize - Patch Window Setting ?

    • @akamcae
      @akamcae  3 года назад

      Hi, there is a Macro called DEFINE_INIT (initializes variables) in UDF that the Dialog Box of this Macro can be activated in User-Defined Function
      Hooks. You can see the definition of this UDF in the ANSYS FLUENT UDF Manual.

  • @maniksinghsambyal6331
    @maniksinghsambyal6331 3 года назад +1

    hello sir i want to find nusselt number so for that i need to calculate dt/dy at y=0 so how can i find the same ?

    • @akamcae
      @akamcae  3 года назад

      Hi, first you should create a custom field function with your definition (dT/dy....) then calculate the value of your function from the wall, which the location is y=0. To report the value from that location, you can create a line or point by Fluent on the surface (wall).

    • @maniksinghsambyal550
      @maniksinghsambyal550 3 года назад

      @@akamcae I want to find dT/dY not dT-dY

    • @akamcae
      @akamcae  3 года назад

      @@maniksinghsambyal550 It is dT/dY but when you use the Fluent, it shows like dT-dY.

  • @haydersakran5675
    @haydersakran5675 2 года назад +1

    who to calculate the Production of Entropy of a rotating impeller?

    • @akamcae
      @akamcae  2 года назад

      I have not worked on rotating impeller. You can search and find an article that explains the equation of entropy production in a rotating impeller. When you find the equation. You can transfer the equation as a UDF code or as a custom field function. However, I think, the equation should be general for all applications, which is explained in the Bejan book. When you find the equation, I think you can calculate the equation using a volume integral in reporting section of Fluent software. You can see the equation of entropy generation in the below link. This is a published article by me.
      link.springer.com/article/10.1007/s00231-019-02615-z

  • @pwedeyonkere5653
    @pwedeyonkere5653 4 года назад +1

    nice video. how can i implement the Time-Averaged Wall Shear Stress (TAWSS).

    • @akamcae
      @akamcae  4 года назад

      Sorry, for not getting back to you sooner.
      You can report the Time-Averaged Wall Shear Stress as below:
      1) For steady simulation:
      Go to Report> Surface Integrals> Report type (Area-Weighted Average)> Field Variable (Wall Fluxes...)> select Wall Shear Stress> then Chose the boundary that you want to report the Time-Averaged Wall Shear Stress> Compute.
      2) For translate simulation:
      You can use UDM Macros for saving you data every time step size and calculate the average time with other software, or use the Tecplot 360 CFD post-processing software, which you can import your case and data to it.

  • @KAMALKumar-vo5ot
    @KAMALKumar-vo5ot 5 лет назад +1

    How to write custom field function for mean deviation and forces for sloshing problem

    • @akamcae
      @akamcae  5 лет назад

      For calculating the mean of parameters, I think that you can write your custom field function then calculate its as the Area-weighted Average (for example) in reports section of Fluent.

  • @general403ok
    @general403ok 6 месяцев назад +1

    HELLO, How to fine derevitive of the temperature with respect to time, dT-dt

    • @akamcae
      @akamcae  6 месяцев назад

      Sorry, I do not know how to calculate dT-dt. I suggest you get the temperature from a specific point and then provide a function by overfitting using Exel then calculate the derivative of it. Also, you can use numerical methods for calculating a derivative of some data.

  • @Roilbb
    @Roilbb 5 лет назад +1

    Thank you Man. It is quite usefull. Would you know how we can calculate the second derivatives?

    • @akamcae
      @akamcae  5 лет назад +1

      Your welcome.
      We can't calculate the second derivatives in the custom field function calculator of the ANSYS FLUENT software (maybe I don’t know), but it will be calculated with the UDF. I think these links (in below) may help you.
      *www.cfd-online.com/Forums/fluent-udf/37146-how-build-second-derivative-udf.html
      *www.cfd-online.com/Forums/fluent-udf/137277-second-derivation-temperature.html

    • @Roilbb
      @Roilbb 5 лет назад

      @@akamcae Thank you... I wrote a UDF and It seems working: :-)
      # include "udf.h"
      DEFINE_ON_DEMAND(store_gradient)
      {
      Domain *domain;
      cell_t c;
      Thread *t;

      domain=Get_Domain(1);

      thread_loop_c (t,domain)
      {
      begin_c_loop (c,t)
      {

      C_UDSI(c,t,0) = C_T_G(c,t)[1];
      C_UDMI(c,t,0) = C_UDSI_G(c,t,0)[1];
      }
      end_c_loop (c,t)
      }
      }
      Ps., For better refinement in gradients, one also can use the reconstruction component of gradients of any variable...

    • @waqasmuneer7951
      @waqasmuneer7951 3 года назад

      @@Roilbb gradient is a vector. How can you store it in a scaler?

    • @Roilbb
      @Roilbb 3 года назад

      @@waqasmuneer7951 It is magnitude which is stored in UDS. You can also store the components of a vector in UDS as well.

    • @waqasmuneer7951
      @waqasmuneer7951 3 года назад

      @@Roilbb It is the vector that has been stored in scaler and it is a magnitude of the sclalar which has been stored in UDM. Is your code working fine?

  • @josipbatista3570
    @josipbatista3570 4 года назад

    Thank you sir, but when I try to calculate average value of dT/d(x,y,z) for particular part of fluid domain (e.g. air domain) from Reports (Volume Integrals), zero value occurs and without units (instead K m-1). Do you have any advice?

    • @akamcae
      @akamcae  4 года назад +1

      Hi,
      In this method, the value illustrates without units because you make a custom field function which it has not a defined unit in Fluent. To unravel the problem of zero value, you should calculate your run (your all equations or just your energy equation) before you calculate the average value of dT/d(x,y,z) for a particular part of the fluid domain. One iteration for calculating the equations is enough after you read your Case and Data in Fluent.
      If you need more information regarding this issue, please do not hesitate to reply to me.

    • @josipbatista3570
      @josipbatista3570 4 года назад

      ​@@akamcae You are right. I first ran a calculation and after convergence is achieved, I followed your steps and didn't rerun calculation. Thank you and best regards!

    • @akamcae
      @akamcae  4 года назад +2

      @@josipbatista3570 Your welcome. In addition, whenever you want to calculate your parameter with the custom field function in your previous run, do the below steps and save your time.
      1- Read your Case and Data files.
      2- Go to Solution> Solution Controls> Equations
      3- Active the energy equation and inactive others equations
      4- Press OK
      5- Run your solver for one iteration
      6- Calculate your parameter with the custom field function
      Good luck

  • @newyorkbrooklyn987
    @newyorkbrooklyn987 5 лет назад +1

    thank you sir , please do you know how to access to the derivative of species mass fraction , thanks alot

    • @akamcae
      @akamcae  5 лет назад

      Unfortunately, I don't know, but it might be possible with the UDF definition in the Ansys Fluent.

    • @newyorkbrooklyn987
      @newyorkbrooklyn987 5 лет назад

      @@akamcae thanks a lot sir please do you have any UDF documents support ! i really appreciate ur help tnx

    • @akamcae
      @akamcae  5 лет назад

      @@newyorkbrooklyn987 No, I am sorry.

  • @karyman-c8m
    @karyman-c8m 14 дней назад

    Please help me, How to calculate entropy in Ansys Fluent?

    • @akamcae
      @akamcae  10 дней назад

      You can see the equations of entropy generation in the below article. After creating the equation in Fluent in the Custom Field Function Calculator dialog box, you can calculate the volume integral of entropy generation in your domain.
      doi.org/10.1007/s00231-019-02615-z

  • @ammarlaichi8474
    @ammarlaichi8474 10 месяцев назад +1

    HELLO, HOW TO CALCULATE WALL AND BULK TEMPERATURE?

    • @akamcae
      @akamcae  10 месяцев назад

      Hi, You should make a cross-section in your domain and then use Mass-Weighted Average to calculate the temperature on the cross-section surface. That's where you will get the bulk temperature in a specific cross-section. For wall temperature, you need to use Area-Weighted Average over the line or surface of the geometry. Please subscribe to my channel, I will provide a video about calculating these two parameters within the next week.

    • @ammarlaichi8474
      @ammarlaichi8474 10 месяцев назад

      @@akamcae Thank you very much for your information.

    • @akamcae
      @akamcae  10 месяцев назад

      @@ammarlaichi8474 Hi, you can find the video regarding calculating the Nusselt number in the below link. Thanks
      ruclips.net/video/2StpgKD2ljU/видео.htmlsi=4lFfz-Vo7ux_HMUh

  • @sss-bc6dz
    @sss-bc6dz 2 месяца назад +1

    Hi, after I set it up like this it doesn't show the temperature gradient and gives me this error message, do you know how to fix it?Info: Expert option for not freeing temporary solver memory is incompatible with adaption in parallel.

    • @akamcae
      @akamcae  2 месяца назад

      Hi, I guess you have one of the following problems: You may be using the student version, you need to have installed Visual Studio, or you may also need to change the mpi setup in the launch window in Fluent. The problem seems to appear from parallel processing.

    • @sss-bc6dz
      @sss-bc6dz 2 месяца назад

      @@akamcae you are right...... how can i fix it ? udf?

    • @akamcae
      @akamcae  2 месяца назад

      @@sss-bc6dz Please try one of the following steps:
      1) First read your case and data, run one interaction, change the setup like the video here, and then run your simulation one iteration more before getting your data.
      2) if your simulation is steady and you want to get data at the end of your simulation, you can read the case and data with a single process instead of parallel processing. Just be aware that before calculating the data by custom field function calculator, just do one interaction, otherwise, you will get a zero value.
      3) try to install a newer version of Visual Studio.
      4) if none of the above solutions worked, you need to create a UDF file, You can use DEFINE_ON_DEMAND.
      Good luck

    • @sss-bc6dz
      @sss-bc6dz 2 месяца назад

      @@akamcae thank you for your reply