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

how to use the utility'tpoly' ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2008, 03:29
Default how to use the utility'tpoly' ?
  #1
jimmy
Guest
 
Posts: n/a
hi everyone!I am trying to simulate a SCR model using fluent 6.3 solver in parallel sovler,i use the tet/hybrid's hexcore(TGrid)to create volume mesh in gambit,after exporting the *.mesh,let it be readed in fluent,appearing the following error report: warning:hex-core mesh should be processed by utility tool 'tpoly' before reading in parallel warning:users are strongly recommended to convert the transitioanl cells into polyhedral ones using the provided utility tool 'toply' for hexcore mesh!

unable to read the cmd header on the pmi context,underfined dynamic error code. recevied suspend command for a pmi context that doesn't exist:unmathed id=1

recevied suspend command for a pmi context that doesn't exist:unmathed id=0

999999(..\..\src\mpsystem.c@1123):mpt_read:failed: errno=10054 999999:mpt_read:error:read failed trying to read 4bytes:invalid argument unable to read the cmd header on the pmi context,underfined dynamic error code. job aborted: rank:node:exit code[:error message] 0:computer:123 1:computer:-1073741819rocess 1 exited without calling finalize 2:computer:-1073741819rocess 2 exited without calling finalize 3:computer:-1073741819rocess 3 exited without calling finalize the parallel fluent process could not be started

according to the error report,i consult the fluent help text,it says that "To convert a file using the tpoly filter, before starting FLUENT, type the following: utility tpoly input_filename output_filename"i try it in fluent,fluent point out that it's a invalid command ,pls help to tell me what's the problem? thanks a lot!

  Reply With Quote

Old   October 29, 2008, 03:42
Default Re: how to use the utility'tpoly' ?
  #2
mAx
Guest
 
Posts: n/a
let say your mesh is named as test.msh

Open a shell, and type:

> utility tpoly test.msh test_tpoly.msh

where test_tpoly.msh will be the result of your mesh conversion

That's all
  Reply With Quote

Old   October 29, 2008, 04:25
Default Re: how to use the utility'tpoly' ?
  #3
jimmy
Guest
 
Posts: n/a
i try it like what you said(not in parallel),but the fluent still says that it's invalid(utility).i even type the command in gambit after read in the original *.msh,gambit says that it's unknown command.there is nothing i can do…………
  Reply With Quote

Old   October 29, 2008, 04:34
Default Re: how to use the utility'tpoly' ?
  #4
mAx
Guest
 
Posts: n/a
go and look if you have the executable utility under fluent\utility

If it is, then re-set your environment variables (by the way under which OS are your working?)
  Reply With Quote

Old   October 29, 2008, 04:49
Default Re: how to use the utility'tpoly' ?
  #5
jimmy
Guest
 
Posts: n/a
i have 'tpoly1.0' under fluent\utility,and my working is under windows XP x64 edition.i don't know how to re-set my environment variables and which variable should be re-set,can you teach me?thanks again!
  Reply With Quote

Old   October 29, 2008, 05:11
Default Re: how to use the utility'tpoly' ?
  #6
mAx
Guest
 
Posts: n/a
In Start, look for Fluent.Inc, and it should be something like "Set Environment"

Try also to launch fluent via Command Window
  Reply With Quote

Old   October 29, 2008, 20:28
Default Re: how to use the utility'tpoly' ?
  #7
mr-fluent
Guest
 
Posts: n/a
set the path to that utility.

Or give the full path in the command itself.

calling tpoly is done by

utility tpoly arguements ...

  Reply With Quote

Old   October 29, 2008, 21:28
Default Re: how to use the utility'tpoly' ?
  #8
jimmy
Guest
 
Posts: n/a
i type the command in full path like that:"> c:\fluent.inc\utility\tpoly1.0\win64\tp100 test.msh test_tpoly.msh",fluent report that"invalid command [c:\fluent.inc\utility poly1.0\win64 p100]".i also re-set my environment in start\fluent.inc,still not work.do you-all have anyother suggestion? in addition,it is said that the 'Tgrid' can also be used like utility tpoly to convert the transitional hexahedral cells into polyhedra,my question is how to use the 'tgrid'?thank you
  Reply With Quote

Old   October 29, 2008, 22:20
Default Re: how to use the utility'tpoly' ?
  #9
mr-fluent
Guest
 
Posts: n/a
i think the mistake that you are making is giving the path to utility folder but NOT to the bin folder where the utility should be there.

For me utility is in folder

/home/Fluent.Inc/bin/

So I shall run it as

/home/Fluent.Inc/bin/utility tpoly .....

If you do not see utility command in your Fluent.Inc/bin/ folder than you got to check your installation.

  Reply With Quote

Old   October 29, 2008, 23:04
Default Re: how to use the utility'tpoly' ?
  #10
jimmy
Guest
 
Posts: n/a
yes,you are right,there is no bin folder in my fluent.inc\,does it mean that i should re-installation the fluent?my software is genuine,so i think it should not appear this problem,what should i do if i still can not find the bin folder after re-installation?do you have any idea?
  Reply With Quote

Old   October 29, 2008, 23:15
Default Re: how to use the utility'tpoly' ?
  #11
jimmy
Guest
 
Posts: n/a
i find there are two 'utility.exe' in the path E:\Fluent.Inc\ntbin\ntx86\utility.exe and E:\Fluent.Inc\ntbin\win64\utility.exe,can these"utility" work?
  Reply With Quote

Old   October 29, 2008, 23:55
Default Re: how to use the utility'tpoly' ?
  #12
mr-fluent
Guest
 
Posts: n/a
i checked my windows machine and my utility is at

C:\Fluent.Inc\ntbin\ntx86

so this path should work, you could in fact create a batch file for it.

But the best is to set environment for fluent as earlier suggested.

  Reply With Quote

Old   October 30, 2008, 00:49
Default Re: how to use the utility'tpoly' ?
  #13
jimmy
Guest
 
Posts: n/a
i re-set environment for fluent,windouws says the environment has been successfully modified,then i tpye the 'tpoly' command in fluent,but it not work,i am at a loss,but thank you all the same,i don't known whether anyother people encounter my problem,if you have lastest news about it, pls tell me,i am deeply grateful!
  Reply With Quote

Old   October 30, 2008, 00:56
Default Re: how to use the utility'tpoly' ?
  #14
mr-fluent
Guest
 
Posts: n/a
utility -h

should list all the available utilities, if you do not see tploy in the list that means either you are working with wrong version of fluent or something wrong with your utility version.

  Reply With Quote

Old   October 30, 2008, 03:43
Default Re: how to use the utility'tpoly' ?
  #15
jimmy
Guest
 
Posts: n/a
i try it in fluent as you say,but i do not see the tpoly in the list,even do not see the list which should show all the available utilities! as the following: "> utility -h invalid command [utility]" my fluent version is 6.3,i think it's the lastest version,why i encounter these problem,is it normally?
  Reply With Quote

Old   October 30, 2008, 04:22
Default Re: how to use the utility'tpoly' ?
  #16
mr-fluent
Guest
 
Posts: n/a
there is something seriously wrong with your path set up, if i were you i could go to the folder where utility.exe is and run it like by

./utility

specifically asking it to run from the folder i am in. There there is no issues of path variable.

Now if i run it from the folder where utility is there are only two possible outcomes.

1. It works -> set the path of machine , or check it

2. does not work -> reinstall fluent.

  Reply With Quote

Old   October 30, 2008, 21:30
Default Re: how to use the utility'tpoly' ?
  #17
jimmy
Guest
 
Posts: n/a
i chech my software installtion path,my utility is in the path of 'E:\Fluent.Inc\ntbin\ntx86\utility'.as you said, i open a fluent shell,running the utility from the folder where the utility is in,as the following:"> ./fluent.inc/ntbin/ntx86/utility",then fluent output the error report:"Error: Journal file "fluent.inc/ntbin/ntx86/utility" not found. Error Object: #f" dose this case mean that it does not work and i have to reinstall fluent?i iterate the work on other people's computer,it still have the same problem.i will try to reinstall my fluent,but what should i do if it still does not work after reintalltion?
  Reply With Quote

Old   October 30, 2008, 22:05
Default Re: how to use the utility'tpoly' ?
  #18
mr-fluent
Guest
 
Posts: n/a
i went to my linux installations folder and run the utility by

./utility -h

it does work. So it seems your is installation problem.

I noticed that your installation is in E partition. Usually with fluent if the installation is default location everything works fine without any problems. Not sure your problems are anyway linked to E: partition or not. Just a thought.
  Reply With Quote

Old   October 30, 2008, 22:30
Default Re: how to use the utility'tpoly' ?
  #19
jimmy
Guest
 
Posts: n/a
my partner's fluent installtion is default location,i try it on his computer just now,typing the command:">./utility -h",it still have the same error report:"Error: Journal file "utility" not found. Error Object: #f",it seems that it may be also not the installtion problem,can you do me a favor of showing me a intercepting picture about your running case?i just want to see the ideal running process,thank you
  Reply With Quote

Old   October 31, 2008, 00:13
Default Re: how to use the utility'tpoly' ?
  #20
mr-fluent
Guest
 
Posts: n/a
here is an output of a very small mesh converted:


: utility tpoly circbend01.msh testout.msh Starting /home/Fluent.Inc/utility/tpoly1.1/lnamd64/tpoly.1.1.0 circbend01.msh testout.msh Unadopt kids faces Reading the mesh file... Read 4903 nodes, 49732 faces Replacing parent edges... Replacing parent faces... Writing the mesh file... done


The important line is:

Starting /home/Fluent.Inc/utility/tpoly1.1/lnamd64/tpoly.1.1.0

  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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



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