I am running a 2D transient simulation(VOF Fluent) in which vapor bubbles are generated at the bottom surface of a rectangular domain that is initially full of water with heat flux given at the bottom wall. I was trying to patch a single vapor bubble by creating a hemispherical region. I can see my volume fraction contour with the bubble after patching a hemispherical region at the bottom of the liquid. The simulation is also running perfectly when I click on "Run Calculation". When I do this same bubble patch operation through a DEFINE_INIT UDF, I can see the bubble getting patched in the vapor phase contour, but the calculation is not running. It is giving the following error in the 1st iteration itself. Divergence detected in AMG solver: vof-1 Divergence detected in AMG solver: x-momentum Divergence detected in AMG solver: y-momentum Divergence detected in AMG solver: pressure correction Divergence detected in AMG solver: pressure correction Divergence detected in AMG solver: temperature UDF code #include "udf.h" DEFINE_INIT (init2, domain1) { Message("solution initialised"); cell_t cell; Thread *cell_thread; Domain *subdomain; int phase_domain_index; //Initialisation of heater layer sub_domain_loop(subdomain, domain1, phase_domain_index) { if(DOMAIN_ID(subdomain) == 2) { thread_loop_c (cell_thread,subdomain) { begin_c_loop_all (cell,cell_thread) { real arr[ND_ND]; C_CENTROID(arr,cell,cell_thread); if (sqrt(ND_SUM(pow(arr[0],2),pow(arr[1],2), pow(arr[2],2)))
@SimuTechGroup4 ай бұрын
Hello and thank you for your comment. Unfortunately, this is a very involved scenario. If you are interested in any of our engineering services, please email info@simutechgroup.com. You can also check out SimuTech Skills Center, a training portal that contains training material and tips and tricks videos that have been created by SimuTech engineers: skillscenter.simutechgroup.com/
@7ronaldo7164 жыл бұрын
Thank you verry much of this information.
@engineeringsimulationstudi14044 жыл бұрын
Loved it
@saicharannathdubba35896 жыл бұрын
When I try to load UDF in fluent solver. The error messenge was showing that UDF library you are trying to load(libudf) is not compiled for parallel use on current platform (win64). The system cannot find the path specified.please help!!
@khairiarrif30975 жыл бұрын
Me too
@saicharannathdubba35895 жыл бұрын
@@khairiarrif3097 I installed visual studio 2012 . After that I haven't faced the problem
@khairiarrif30975 жыл бұрын
@@saicharannathdubba3589 thank you friend ...can you give me the site
@saicharannathdubba35895 жыл бұрын
@@khairiarrif3097 I forgot the website from where I downloaded it. But I can send you through Google drive. If possible send me your email id
@khairiarrif30975 жыл бұрын
@@saicharannathdubba3589 arrifkhairi@gmail.com
@salimbenhalima32034 жыл бұрын
thank you very much, but I have a problem .how can I initialize a solid temperature with UDF?
@SimuTechGroup4 жыл бұрын
Hi Salim, feel free to drop us a note at info@simutechgroup.com if you're interested in our consulting services and we'd be more than happy to help! Otherwise there is the ansys student community to find posts/articles: studentcommunity.ansys.com/
@rumanaparvinrinky72194 жыл бұрын
thank u so much sir.. please give one for 3 D also please please
@SimuTechGroup4 жыл бұрын
Hi, feel free to drop us a note at info@simutechgroup.com if you're interested in our consulting services and we'd be more than happy to help! Otherwise there is the Ansys student community to find posts/articles: studentcommunity.ansys.com/
@persisboshra59684 жыл бұрын
Thanks a lot for this valuable information.. I'd like anyone to help me with writing the UDF code of the transient velocity of the profile of respiratory velocity for normal breathing- inhalation & exhalation for 4.8 s
@SimuTechGroup4 жыл бұрын
Hi Persis, feel free to drop us a note at info@simutechgroup.com if you're interested in our consulting services and we'd be more than happy to help! Otherwise there is the ansys student community to find posts/articles: studentcommunity.ansys.com/