-
-
November 16, 2020 at 3:05 pm
-
November 17, 2020 at 1:40 pm
Karthik Remella
AdministratorHi,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 -
November 17, 2020 at 3:53 pm
mrz_hajiha
SubscriberHi,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 -
December 6, 2020 at 1:07 pm
mrz_hajiha
SubscriberHi, 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 -
December 7, 2020 at 9:29 am
mrz_hajiha
SubscriberHi, 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 RezanHi,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
-
December 7, 2020 at 9:29 am
mrz_hajiha
SubscriberHi,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 -
December 7, 2020 at 10:22 am
Amine Ben Hadj Ali
Ansys Employeereposting 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 -
December 7, 2020 at 11:24 am
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 -
December 7, 2020 at 12:36 pm
Amine Ben Hadj Ali
Ansys EmployeeLook into the example calculation for UDS Flux. Something like that is required:nn -
December 7, 2020 at 12:38 pm
Amine Ben Hadj Ali
Ansys EmployeeMoreover can you tell me where are you hooking the DEFINE_PROFILE macro?n -
December 7, 2020 at 12:39 pm
Amine Ben Hadj Ali
Ansys EmployeeIf 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 -
December 7, 2020 at 2:01 pm
mrz_hajiha
SubscriberIf 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 -
December 7, 2020 at 2:02 pm
mrz_hajiha
SubscriberMoreover can you tell me where are you hooking the DEFINE_PROFILE macro?/forum/discussion/comment/99547#Comment_99547
on the wall.n -
December 7, 2020 at 2:21 pm
Rob
Forum ModeratorBreak 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 -
December 7, 2020 at 2:40 pm
mrz_hajiha
SubscriberBreak 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 -
December 7, 2020 at 3:41 pm
Amine Ben Hadj Ali
Ansys Employeewhich 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 -
December 8, 2020 at 12:33 pm
mrz_hajiha
SubscriberThanks 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 -
December 8, 2020 at 3:20 pm
Amine Ben Hadj Ali
Ansys EmployeePlease 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?. -
December 9, 2020 at 5:08 am
mrz_hajiha
SubscriberPlease 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
-
- The topic ‘help on Multiphase simulation of friction stir welding’ is closed to new replies.
-
2788
-
965
-
851
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.