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

How can I change chemical formula with text command?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 22, 2014, 18:22
Question How can I change chemical formula with text command?
  #1
New Member
 
Juun
Join Date: Aug 2013
Location: UK
Posts: 12
Rep Power: 3
Juun is on a distinguished road
Hi everyone, I got a little problem with text command.

in my case, ammonia is added into material at the beginning, then I use below command to copy it and create a new material nh3-1 (just a random name)

/define/materials/change-create ammonia-vapor nh3-1 no no no no no no no no no no no no no

But I want to change the chemical formula to, nh3-a, for example.I done a lot search, but haven’t found anything so far. What command can I use to change this?

Thank you very much for any help
Juun is offline   Reply With Quote

Old   June 22, 2014, 20:55
Default
  #2
Member
 
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 5
Hershey is on a distinguished road
I seem to recall having trouble with this as well. Instead I made a user defined material database and read that into fluent instead.
Hershey is offline   Reply With Quote

Old   June 23, 2014, 20:12
Default
  #3
New Member
 
Juun
Join Date: Aug 2013
Location: UK
Posts: 12
Rep Power: 3
Juun is on a distinguished road
Hi Hershey, Thank you very much. problem sloved, I tried it on windows platform.

will it also work on hpc cluster? if i upload the database together with mesh...
Juun is offline   Reply With Quote

Old   June 23, 2014, 22:08
Default
  #4
Member
 
Christopher Hershey
Join Date: Feb 2012
Location: East Lansing, Michigan
Posts: 41
Rep Power: 5
Hershey is on a distinguished road
Yes. As long as the database is in the same folder as your journal file (or working directory) it will work.
Hershey is offline   Reply With Quote

Reply

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
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
TEXT COMMAND Alex Munoz FLUENT 0 April 10, 2003 22:32
Text command sam FLUENT 2 April 2, 2003 05:24
Text command of monitor-command? Mika FLUENT 0 March 27, 2001 13:46


All times are GMT -4. The time now is 02:20.