|
[Sponsors] |
![]() |
![]() |
#1 |
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 |
|
![]() |
![]() |
![]() |
#2 |
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
|
|
![]() |
![]() |
![]() |
#3 |
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. |
|
![]() |
![]() |
![]() |
#4 |
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
|
|
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
Dynamics mesh tutorial, thanks
|
|
![]() |
![]() |
![]() |
#6 |
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!
|
|
![]() |
![]() |
![]() |
#7 |
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
|
|
![]() |
![]() |
![]() |
#8 | |
Member
samrat himvanth nanduri
Join Date: May 2012
Posts: 30
Rep Power: 14 ![]() |
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:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |