CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

UDF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 25, 2008, 23:58
Default UDF
  #1
david
Guest
 
Posts: n/a
Hi, i really have a problem about FLUENT .i'll very appreciate it if you can help me, there is Error: "Floating point error: invalid number", my UDF is about Maxwell equations which include only two scalars , electric field (Poisson equation considering space charge ) and current (continuity equation):i put them in the accessory. and i want get the distribution of them. give me your e-mail ,i send my UDF to you.
  Reply With Quote

Old   September 29, 2008, 14:19
Default Re: UDF
  #2
Lourival
Guest
 
Posts: n/a
Dear David,

It seams that there is a zero division in some where in the code, which is difficult to tell you, or probably you are getting zero some where and using it in a division.

Try to isolate part by part of your code and test it even the results are not physical, but at least you are quite sure about the code...

best regards

Lourival Mendes
  Reply With Quote

Old   September 29, 2008, 20:46
Default Re: UDF
  #3
david
Guest
 
Posts: n/a
Thanks for your answer,my gambit model is a 2D model which includes a 450x300mm rectangle with three small circles equal spaced along the long center line. in my analysis i also want to apply boundary condition to the three small circle lines ,so i split the three small planes from the rectangular plane, if the zero division you said appeared in there? or if there is any other way to build the geometry model for interior boundary condition?thanks again!

best regards

david
  Reply With Quote

Old   September 30, 2008, 08:27
Default Re: UDF
  #4
Lourival
Guest
 
Posts: n/a
Dear David,

Sorry if I misundestood your msg. As I understand you have a rectangle with 3 small circles inside the rectangle spaced equally. The domain of the simulation is the inside part of the rectangle MINUS the space of circles, am I right?

Is your case an axysimetric simulation?

Best Regards

Lourival
  Reply With Quote

Old   September 30, 2008, 08:58
Default Re: UDF
  #5
david
Guest
 
Posts: n/a
thanks, the domain of the simulation is exactly the inside part of the rectangle and an symmetrical domain. but the space of circles are also included, i put the circle lines here for applying boundary condition, in addition, my domain includes only electric and current fields but fluid field, namely, there is not velocity item.

best regards

david
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:07.