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

Overflow Error Because of defining a New Coordinate Frame

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 22, 2012, 23:26
Question Overflow Error Because of defining a New Coordinate Frame
  #1
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 230
Rep Power: 7
ashtonJ is on a distinguished road
Dear All,

I got "Floating point exception: Overflow" error, I have read all the post about this problem. My problem is because of defining a new coordinate frame.

I defined a Poiseuille velocity profile as inlet boundary condition of my model but the original coordinate frame is not in middle of the inlet surface, so my velocity is not zero at the centre, it is zero somewhere close to the edge of the inlet. To resolve this problem, I defined a new coordinate frame on the inlet surface and used the new coordinate frame for defining the inlet boundary condition. The problem is solved and I got the zero in the centre, however, in the first iteration of run, I got the "Floating point exception: Overflow" error.

Does anybody know where the problem originates from.

Kind regards,
AshtonJ
ashtonJ is offline   Reply With Quote

Old   April 23, 2012, 01:26
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,662
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I have just written an FAQ on floating point error because it comes up so much:
http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F

But you comment that in this case it appears the problem is due to local coordinate system. Have you tried to define the velocity profile without the local coord? Sure the maths is a bit more tricky but I think you are right when you say it is probably where the problem lies.
ghorrocks is offline   Reply With Quote

Old   April 23, 2012, 01:44
Default
  #3
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 230
Rep Power: 7
ashtonJ is on a distinguished road
Thanks so much. Without a local coordinate frame, I don't get a symmetric poiseulle flow profile, the zero velocity is not in the middle of the inlet, it is near the edge.
ashtonJ is offline   Reply With Quote

Old   April 23, 2012, 08:08
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,662
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
The coordinate frame is a simple transformation. You just include the transformation in your CEL expression then you do not need the local coordinate system. The end result is identical.

And if your problem is due to some problem with local coordinate frames this will work around it.
ghorrocks is offline   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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD Post- coordinate frame issue GSbert ANSYS 1 June 15, 2012 01:26
Moving coordinate frame Roland R CFX 3 November 28, 2011 10:59
UDF for defining a body force in Singel ROtating Reference Frame teymourj FLUENT 2 July 28, 2011 17:45
coordinate frame Jackie CFX 2 March 6, 2003 01:22
Cylindrical coordinate frame New User CFX 3 August 10, 2002 06:41


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