Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

help on Multiphase simulation of friction stir welding

    • mrz_hajiha
      Subscriber
    • Karthik Remella
      Administrator
      Hi,nC_VOF(c,t) is a cell macro and cannot be applied to a face. Instead, I'd recommend that you use F_UDMI(f,t,i) to store these cell values. You should be able to use this F_UDMI for your subsequent calculations. nPlease see this link from the Ansys Fluent Customization manual for additional information.nI hope this helps.nThank you.nKarthikn
    • mrz_hajiha
      Subscriber

      Hi,C_VOF(c,t) is a cell macro and cannot be applied to a face. Instead, I'd recommend that you use F_UDMI(f,t,i) to store these cell values. You should be able to use this F_UDMI for your subsequent calculations. Please see this link from the Ansys Fluent Customization manual for additional information.https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/flu_udf/flu_udf_sec_udm_macros.html?q=F_UDMII hope this helps.Thank you.Karthik/forum/discussion/comment/97628#Comment_97628

      Hi Kremella, nthanks a lot. I'll check it out.nnSincerelynMohammad Rezan
    • mrz_hajiha
      Subscriber
      Hi, Mr.Kremella.nSo, first of all, I want to say thank you for answering my question, and then I have another question; I checked Ansys Fluent Customization manual, and if I quote, it was saidF_UDMI for accessnor store the value of the user-defined memory on a face. nso how can I get the vof from the next cell of the wall and put that on the wall?nI also read the example, but in that, the loop gets the face's temperature and store that by F_UDMI, so I am confused.nIf you have a practical example of my question, I appreciate you to share it with me or if you know another way for this problem.nnSincerelynMohammadreza
    • mrz_hajiha
      Subscriber
      Hi, Mr.Kremella.nSo, first of all, I want to say thank you for answering my question, and then I have another question; I checked Ansys Fluent Customization manual, and if I quote, it was said 'F_UDMI for accessnor store the value of the user-defined memory on a face.' nso how can I get the vof from the next cell of the wall and put that on the wall?nI also read the example, but in that, the loop gets the face's temperature and store that by F_UDMI, so I am confused.nIf you have a practical example of my question, I appreciate you to share it with me or if you know another way for this problem. Sincerely Mohammad Rezan

      Hi,C_VOF(c,t) is a cell macro and cannot be applied to a face. Instead, I'd recommend that you use F_UDMI(f,t,i) to store these cell values. You should be able to use this F_UDMI for your subsequent calculations. Please see this link from the Ansys Fluent Customization manual for additional information.https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/flu_udf/flu_udf_sec_udm_macros.html?q=F_UDMII hope this helps.Thank you.Karthik/forum/discussion/comment/97628#Comment_97628

    • mrz_hajiha
      Subscriber

      Hi,C_VOF(c,t) is a cell macro and cannot be applied to a face. Instead, I'd recommend that you use F_UDMI(f,t,i) to store these cell values. You should be able to use this F_UDMI for your subsequent calculations. Please see this link from the Ansys Fluent Customization manual for additional information.https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/flu_udf/flu_udf_sec_udm_macros.html?q=F_UDMII hope this helps.Thank you.Karthik/forum/discussion/comment/97628#Comment_97628

      Hi, Mr.Kremella. So, first of all, I want to say thank you for answering my question, and then I have another question; I checked Ansys Fluent Customization manual, and if I quote, it was said'F_UDMI for accessnor store the value of the user-defined memory on a face.' nso how can I get the vof from the next cell of the wall and put that on the wall?nI also read the example, but in that, the loop gets the face's temperature and store that by F_UDMI, so I am confused.nIf you have a practical example of my question, I appreciate you to share it with me or if you know another way for this problem. Sincerely Mohammadrezan
    • DrAmine
      Ansys Employee
      reposting the question 3 times won't let your get the answer faster..nAll you are asking for is documented. You need to get the near wall cell value and stores that in the memory. Check adjacent cell connectivites in https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v202/en/flu_udf/flu_udf_ConnectivityMacros.htmln
    • mrz_hajiha
      Subscriber
      @DrAmine nnAt least I get your attention. But as a defense, I post this for a week, but it didn't approve. So every day, I came and posted repeated that.nnSo I'm sorry.nnnow, about the question, I look at that, but still, I get an error. (Failed in handling Fluent message)nnPlus that, there is not an example of how I can use that.nnSo what should I do? Can you help me with another reference?n
    • DrAmine
      Ansys Employee
      Look into the example calculation for UDS Flux. Something like that is required:nn
    • DrAmine
      Ansys Employee
      Moreover can you tell me where are you hooking the DEFINE_PROFILE macro?n
    • DrAmine
      Ansys Employee
      If you are using at wall: then it won't work as the wall hast only mixture level information. To get the cell information next to the wall you need to go from mixture level to phase level to get the volume fraction of the phase.n
    • mrz_hajiha
      Subscriber

      If you are using at wall: then it won't work as the wall hast only mixture level information. To get the cell information next to the wall you need to go from mixture level to phase level to get the volume fraction of the phase./forum/discussion/comment/99548#Comment_99548

      thanks alot.ncan you explain more about this?n
    • mrz_hajiha
      Subscriber

      Moreover can you tell me where are you hooking the DEFINE_PROFILE macro?/forum/discussion/comment/99547#Comment_99547

      on the wall.n
    • Rob
      Forum Moderator
      Break the problem down:nYou need to add heat through the wall: DEFINE_PROFILE will do that. nYou need to find the cell data next to the wall, and that's covered in the UDF manual, section 3.2.5.1. Adjacent Cell Index (F_C0, F_C1) in the 2020R2 documentation. I've got a local install so no link. Note, we won't be debugging code or offering detailed advice so I advise reading the documentation and looking at the examples very carefully. n
    • mrz_hajiha
      Subscriber

      Break the problem down:You need to add heat through the wall: DEFINE_PROFILE will do that. You need to find the cell data next to the wall, and that's covered in the UDF manual, section 3.2.5.1. Adjacent Cell Index (F_C0, F_C1) in the 2020R2 documentation. I've got a local install so no link. Note, we won't be debugging code or offering detailed advice so I advise reading the documentation and looking at the examples very carefully./forum/discussion/comment/99571#Comment_99571

      well thanks for your attention,nas a answer, I saw vof(f,t) in one example... what was that?n3.2.12.6. Example UDF that Utilizes UDM and UDS Variablesn
    • DrAmine
      Ansys Employee
      which vof and which example? Again if you want to make a user defined profile to be applied at the wall you need to access the phase level threads if you want to access VOF field of near wall cell. All is covered in the documentation. I vow it requires some bit advanced skills. You might need to attend a training.n
    • mrz_hajiha
      Subscriber
      Thanks to you @DrAminenIf I understand your point (pardon me because of lack of ability in talking English), I should say that I mention the example in udf documentation.nnSo, how can I get that training? is there any media like YouTube videos or something you know about?n
    • DrAmine
      Ansys Employee
      Please Contact your Prof. and check if there is way to attend training Live or Online. If you are not student just apply for a subscription.nnAny still open questions related to this topic?.
    • mrz_hajiha
      Subscriber

      Please Contact your Prof. and check if there is way to attend training Live or Online. If you are not student just apply for a subscription.Any still open questions related to this topic?/forum/discussion/comment/99686#Comment_99686

      just thank you.n
Viewing 18 reply threads
  • The topic ‘help on Multiphase simulation of friction stir welding’ is closed to new replies.