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

Dynamic mesh problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2004, 17:06
Default Dynamic mesh problem
  #1
Jim
Guest
 
Posts: n/a
Hi All,

I have a trouble to run the fluent tutorial Dynamics mesh. When I try to compile the file: valve.c, the following messages show up:

CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. 'nmake' is not recognized as an internal or external command, operable program or batch file.

If you have any ideas, please help me. Thanks.

Sincerely, Jim zhang
  Reply With Quote

Old   June 15, 2004, 20:40
Default Re: Dynamic mesh problem
  #2
Podila
Guest
 
Posts: n/a
okie I guess there might be two reasns behind it: 1. U have not set the path. 2. U are not compiling from the correct directory. U have to compile inside the libudf>src>2d/dp/3d/dp from there copy the path and change it. Go to the command prompt, copy the path, by cd ...and then give nmake. Podila
  Reply With Quote

Old   June 15, 2004, 21:19
Default Re: Dynamic mesh problem
  #3
Jim Zhang
Guest
 
Posts: n/a
Hi, Podila,

I have tried it, and the following is some error messages showing up. Thanks.

C:\Documents and Settings\Jim Zhang\My Documents\help_FLUENT\tutfiles\dynames h\libudf\ntx86\2d>nmake

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl /c /Za /DUDF_EXPORTING -Ic:\fluent.inc\fluent6.1.22\ntx86\2d -Ic:\fl uent.inc\fluent6.1.22\src -Ic:\fluent.inc\fluent6.1.22\cortex\src -Ic:\fluent. inc\fluent6.1.22\client\src -Ic:\fluent.inc\fluent6.1.22\tgrid\src -Ic:\fluent .inc\fluent6.1.22\multiport\src ..\..\src\valve.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'cl' : return code '0x1' Stop.
  Reply With Quote

Old   June 16, 2004, 08:27
Default Re: Dynamic mesh problem
  #4
Podila
Guest
 
Posts: n/a
okie which tutorail is that. Please provide the details of the tutorail I will see whether it works for me. Podila
  Reply With Quote

Old   June 16, 2004, 11:39
Default Re: Dynamic mesh problem
  #5
jim
Guest
 
Posts: n/a
Dynamics mesh tutorial, thanks
  Reply With Quote

Old   June 16, 2004, 14:34
Default Re: Dynamic mesh problem
  #6
STK
Guest
 
Posts: n/a
From my experience, i have seen that udf files in some machines are not compiled automatically by fluent gui (the *.c files). This happens in your machine. Don't worry it is simple. What you have to do is to open the command prompt (cmd in start-run), then you go to the bin directory of your MICROSOFT VISUAL STUDIO FOLDER,you find the VCVARS32.BAT (this execute command setting the enviroment) and you print it. After you have activated vcvars32.bat, you launch fluent (do it from an another command prompt to be sure) and you will see that you can compile valve.c, which is a correct generated code, as you will confirm.(remember first build and then load the library) good luck!
  Reply With Quote

Old   June 16, 2004, 16:12
Default Re: Dynamic mesh problem
  #7
Jim
Guest
 
Posts: n/a
Hi,thank you all, and I got it. The problem is in the visual c++. when I remove the visual c++, and reinstall it, every thing is OK. Thanks for your help. Jim
  Reply With Quote

Old   January 29, 2013, 03:32
Default
  #8
Member
 
samrat himvanth nanduri
Join Date: May 2012
Posts: 30
Rep Power: 13
samcfd is on a distinguished road
Hi i tried loading the VALVE.c file into ANSYS FLUENT and i get this message

1 file(s) copied.
(system "copy c:\fluent.inc\fluent6.3.26\src\makefile_nt.udf libudf\ntx86\2d\makefile")
1 file(s) copied.
(chdir "libudf")()
(chdir "ntx86\2d")()

Done.
"f:/dynamic_mesh/dynamic_mesh"

Opening library "libudf"...
Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

Could you please help me out understanding what the error is about.

thanks
sam



Quote:
Originally Posted by STK
;113259
From my experience, i have seen that udf files in some machines are not compiled automatically by fluent gui (the *.c files). This happens in your machine. Don't worry it is simple. What you have to do is to open the command prompt (cmd in start-run), then you go to the bin directory of your MICROSOFT VISUAL STUDIO FOLDER,you find the VCVARS32.BAT (this execute command setting the enviroment) and you print it. After you have activated vcvars32.bat, you launch fluent (do it from an another command prompt to be sure) and you will see that you can compile valve.c, which is a correct generated code, as you will confirm.(remember first build and then load the library) good luck!
samcfd is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic mesh update problem. David FLUENT 3 March 15, 2012 05:02
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Dynamic Mesh problem Paul_321 FLUENT 11 August 11, 2009 11:32
CFD-3D flow problem using Dynamic mesh method. Sar_mech FLUENT 1 November 27, 2008 21:17
Dynamic mesh problem Sampath FLUENT 1 October 13, 2004 06:44


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