CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

2D Mesh Generation and Analysis

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

LinkBack Thread Tools Display Modes
Old   February 20, 2004, 07:47
Default 2D Mesh Generation and Analysis
Posts: n/a

I am trying to do a 2D analysis of a wing structure of aircraft. The wing structure itself is a cross-flow fan with a modified housing.

I have set environmental variable CFX2D_Mesh=1. For now i am trying only a simple bounding box. I created rectangular domain with 2400x1600 dimensions and 3mm thickness. I have given inlet with velocity, outlet as opening with 0 static pressure. upper and lower surfaces as walls with free slip. two side faces as periodic boundary pair. mesh edge length=3mm(which is thickness) so that only one element thick mesh is produced. I tried with more and less values for mesh edge length as well and i get the same error as below. i could generate surface mesh but when i say write def problem starts.

I couldnt write the definition file after the creation of mesh. it gives error like this:

--------------------------------------------------- Error reported from application CFX-Build 5

Error during the creation of the Definition File. openfile: the file cfx5.def is being locked or the wrong lock file cfx5.def.lck exists

iocnt: open the primary file failed

Call to IOCNTF failed from DEFCTL! Action requested was OPEN. IERR = 21 STOP called from routine DEFCTL -----------------------------------------------------

Can pls somebody tell me what this is.. I am not able to understand or make out anything.

Thanks in advance.

  Reply With Quote

Old   February 22, 2004, 17:45
Default Re: 2D Mesh Generation and Analysis
Glenn Horrocks
Posts: n/a
Hi Deepthi,

I assume you are using CFX-Build.

1) To activate the 2D mesher in CFX-Build, your environment variable "CFX2D_Mesh" is incorrect. What you have set will not do anything. What you should have set was "CFX5_2D_MESH" and give it the value "TRUE".

2) To stop the error about the lock file, just delete the offending lock file (here that is cfx5.def.lck) and do it again. Make sure that nothing else is writing to the file when you do this, of course - safest to close all other CFX applications before you do this.

  Reply With Quote

Old   February 27, 2004, 15:05
Default Re: 2D Mesh Generation and Analysis
Posts: n/a

Thanks a Lot for the advice. I could resolve it.

Thanks Once Again, Deepthi
  Reply With Quote


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
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Code for mesh generation rikko Main CFD Forum 0 June 10, 2009 06:19
Mesh genaration Karthik Main CFD Forum 2 March 21, 2005 01:22
Mesh Mignard FLUENT 2 March 22, 2000 06:12
Mesh Generation Software Survey Steve Owen Main CFD Forum 0 September 17, 1998 12:13

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