# Overflow Error Because of defining a New Coordinate Frame

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

 April 22, 2012, 23:26 Overflow Error Because of defining a New Coordinate Frame #1 Senior Member   Ashkan Javadzadegan Join Date: Sep 2010 Posts: 255 Rep Power: 15 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

 April 23, 2012, 01:26 #2 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 17,327 Rep Power: 138 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.

 April 23, 2012, 01:44 #3 Senior Member   Ashkan Javadzadegan Join Date: Sep 2010 Posts: 255 Rep Power: 15 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.

 April 23, 2012, 08:08 #4 Super Moderator   Glenn Horrocks Join Date: Mar 2009 Location: Sydney, Australia Posts: 17,327 Rep Power: 138 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.