|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Jan 2010
Posts: 1
Rep Power: 0 ![]() |
HI,
I am currently working on 3D FSI mechanical heart valve simulation. the motion of the valve leaflets is assigned using a udf function. However, i would like to run my simulation in parallel. and in order to that i partitioned my domain in a serial mode and saved the case and data files. then i went to parallel mode and compiled, successfully, my udf file. However, when i try to run the simulation in serial mode, every thing goes smooth. While when i try to switch to the parallel one and during the first iterations a negative volume massage show up. For explain more about my current mesh and geometry, i uploaded the middle plane image : http://img684.imageshack.us/img684/4...ddileplane.png The UDF code: #include "udf.h" #define omega1 -26.7 /* rotational speed-upperleaflet, rad/sec */ #define omega2 26.7 /* rotational speed-lowerleaflet, rad/sec */ DEFINE_CG_MOTION(upperleaflet, dt, cg_vel, cg_omega, time, dtime) { if (time >= 0.172 && time < 0.21) { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = omega1; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } else if (time >= 0.81 && time < 0.848) { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = -omega1; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } else { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = 0; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } return; } DEFINE_CG_MOTION(lowerleaflet, dt, cg_vel, cg_omega, time, dtime) { if (time >= 0.192 && time < 0.21) { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = omega2; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } else if (time >= 0.81 && time < 0.828) { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = -omega2; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } else { cg_vel[0] = 0.0; cg_vel[1] = 0.0; cg_vel[2] = 0.0; cg_omega[0] = 0.0; cg_omega[1] = 0.0; cg_omega[2] = 0.0; } return; } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Nov 2009
Posts: 14
Rep Power: 16 ![]() |
If you go through the UDF for dynamic meshing in the tutorial in the help documentation which comes along with FLuent, you will find that you have to use commands such as !RP_HOST !RP_NODE to prevent fluent from computing certain quantities on the host, when using parallel computing..
It is possible that the error you are getting is due to that, since I didnt see any such declaration in your UDF |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Sep 2009
Posts: 69
Rep Power: 16 ![]() |
Hi DE_HEART
I am encountering the same problem as well. My problem is a pitching airfoil problem and I use the same DEFINE_CG_MOTION udf as you do. The problem I highly suspect is a udf problem and not a mesh partition problem because I ran a steady state solution without the udf and it runs fine and give me a solution. Only when I turn my dynamic mesh on and use libudf that i get problems after a few iterations. Have you managed to find a solution to your problem? Regards, Darren |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16 ![]() |
hi dear all...
i have this problem as you;i changed time step from 0.0001 to 0.00001 but again this message showed up,could u help me out plz? thank u in advance for any help provided ![]() |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear Sir,
I'm having problem selecting few types of catalysts such as platinum-titanium oxide , platinum-silicon oxide and platinum-aluminium oxide as it is not available in the table . I had selected boundary conditions, then I selected "substrate" for zone name. When I click edit, there is no 3 types of catalysts listed in table. I also click the "porous zone" & "laminar zone" .I might not able to select any these 3 types of catalysts. Please guide me . Thanks you. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16 ![]() |
dear robot
if those material flow in sth like a pipe and they r working fluid u can define it in the define...> material,u can define density,viscosity,etc hope this helps u ![]() |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear Sir,
My model is square shape, 2D , simple model .The pink colour represent the reaction between reactant(e.g.glycerol with steam) , with the product (e.g. as hydrogen , carbon monoxide & carbon dioxide). I had key in the reactants & the products already by selecting: ->define ->materials :name the each reactants & products -Selecting material type : mixture -Fluent mixture material : mixture-template -key in all the reactants & products in properties (mixture species : name) -key in number of mole for each reactant & product in properties(reaction:finite rate) All the reactants & products can be obtain from the fluent database. The red one represent the catalyst. I need to create the catalysts (e.g platinum-titanium oxide , platinum-silicon oxide and platinum-aluminium oxide ) . How should I do it? CAn I directly change the mesh size in the gambit file ,than convert to mesh file ,to be open in fluent software?? |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear Sir,
My model is square shape, 2D , simple model .The pink colour represent the reaction between reactant(e.g.glycerol with steam) , with the product (e.g. as hydrogen , carbon monoxide & carbon dioxide). I had key in the reactants & the products already by selecting: ->define ->materials :name the each reactants & products -Selecting material type : mixture -Fluent mixture material : mixture-template -key in all the reactants & products in properties (mixture species : name) -key in number of mole for each reactant & product in properties(reaction:finite rate) All the reactants & products can be obtain from the fluent database. The red one represent the catalyst. I need to create the catalysts (e.g platinum-titanium oxide , platinum-silicon oxide and platinum-aluminium oxide ) . How should I do it? CAn I directly change the mesh size in the gambit file ,than convert to mesh file ,to be open in fluent software?? |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear Sir,
Dear Sir, My model is square shape, 2D , simple model .The pink colour represent the reaction between reactant(e.g.glycerol with steam) , with the product (e.g. as hydrogen , carbon monoxide & carbon dioxide). I had key in the reactants & the products already by selecting: ->define ->materials :name the each reactants & products -Selecting material type : mixture -Fluent mixture material : mixture-template -key in all the reactants & products in properties (mixture species : name) -key in number of mole for each reactant & product in properties(reaction:finite rate) All the reactants & products can be obtain from the fluent database. The red one represent the catalyst. I need to create the catalysts (e.g platinum-titanium oxide , platinum-silicon oxide and platinum-aluminium oxide ) . How should I do it? CAn I directly change the mesh size in the gambit file ,than convert to mesh file ,to be open in fluent software?? |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Member
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16 ![]() |
dear robot...
i just found some information about catalysts in fluent tutorial docs;u can use the following function int cat index ...sorry i'm not professional in this field and i can not help u more than this ![]() |
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear almostafa67,
can you let me know the e-mail address so I can locate the tutorial. I hope it is not the tutorial 7 entitle " Modeling flow through porous media" as this tutorial 7 do not have the example to guide me to key in all the catalysts (e.g platinum-titanium oxide, platinium-aluminium oxide and platinum-carbon) as these three catalysts that are needed for my model , was not available in the the fluent database. I hope you can send me the website. Your guidance & help is appreciate. Thanks you. ![]() |
|
![]() |
![]() |
![]() |
![]() |
#12 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear almostafa67,
Can you let me know the website, so I can download the assignment for my 2D model that this example can guide me to key in all the catalysts (e.g platinum-titanium oxide, platinium-aluminium oxide and platinum-carbon) as these three catalysts that are needed for my model , was not available in the the fluent database. Your cooperation is much appreciate. Thanks you. ![]() |
|
![]() |
![]() |
![]() |
![]() |
#13 |
Member
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16 ![]() |
dear robot...
u can download fluent 12.0 tutorial or search in internet to find ur answer,as a starting point http://www.cfd-online.com/Forums/cd-...sing-dars.html regards |
|
![]() |
![]() |
![]() |
![]() |
#14 |
New Member
jamie hong
Join Date: Jul 2010
Location: brunei
Posts: 19
Rep Power: 16 ![]() |
Dear almostafa67,
Should I key all the catalysts (e.g platinum-titanium oxide , platinum-aluminium oxide & platinum carbon) in the species "section" ? Hope to hear from you soon . Thanks you very much . I already download the Fluent Tutorial 12 already . hope to hera from you soon. thanks you. ![]() |
|
![]() |
![]() |
![]() |
![]() |
#15 |
Member
ahmad
Join Date: Jul 2010
Posts: 57
Rep Power: 16 ![]() |
dear robot i sent u a private message yesterday:i'm new in this field and do not know how to enter catalyst's info in fluent;i wish i could help u
![]() sorry Last edited by almostafa67; August 11, 2010 at 03:02. |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
Dynamic mesh udf example | avant | FLUENT | 2 | September 16, 2005 01:24 |
Problem related with UDF for dynamic mesh | Ryan | FLUENT | 1 | April 16, 2004 06:05 |
A question about the dynamic mesh UDF | Tango | FLUENT | 1 | November 27, 2003 02:56 |