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

How to create multiple points in fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2016, 05:08
Default How to create multiple points in fluent
  #1
Member
 
Jianhua.Liu
Join Date: Jul 2016
Posts: 30
Rep Power: 9
Liusst is on a distinguished road
Hello everyone ! I have lots of points coordinates, and I want to create these points in fluent, and export these points pressure values.It is lots of points , what is an easy way to achieve it?Thank you in advance!
Liusst is offline   Reply With Quote

Old   September 8, 2016, 07:14
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
My usual approach is to use a scripting language (say, octave/MATLAB) to produce a journal which will achieve that.

Still, this is the wrong forum to ask. A dedicated Fluent one exists.
sbaffini is offline   Reply With Quote

Old   September 8, 2016, 08:14
Default
  #3
Member
 
Jianhua.Liu
Join Date: Jul 2016
Posts: 30
Rep Power: 9
Liusst is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
My usual approach is to use a scripting language (say, octave/MATLAB) to produce a journal which will achieve that.

Still, this is the wrong forum to ask. A dedicated Fluent one exists.
It is very kind of you ! But I am new in fluent , can you give me an example or some materials to learn that ? Thank you!
Liusst is offline   Reply With Quote

Old   September 8, 2016, 12:31
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by Liusst View Post
It is very kind of you ! But I am new in fluent , can you give me an example or some materials to learn that ? Thank you!
The Fluent manual is the primary source to know that you can use Fluent with journal files and to actually do that.

After that you should realize that the journal commands exactly fit the Fluent Text User Interface (TUI) commands.

So, either by looking into the manual or, better, by trial and error, you should try to find the required set of TUI commands needed to, say, define a point and use that point as you want for a monitor.

Once you do that, you need to write a script that, in some smart way, can write all the commands you need to, say, enter a lot of point coordinates and define monitors for them.

Finally you give the output of the script to Fluent, to read it as a journal.

You can find attached a matlab script doing something similar to what you want to do. Honestly, i don't remember what exactly, you should try it by yourself to see how it works. You can obviously change the part where the points are defined to whatever method you have to define your points (reading from file, etc.).

Obviously there might be other ways to achieve that (like scheme language in Fluent), but this is my preferred choice.
Attached Files
File Type: txt flupmon.txt (2.0 KB, 199 views)
sbaffini is offline   Reply With Quote

Old   September 9, 2016, 20:24
Default
  #5
Member
 
Jianhua.Liu
Join Date: Jul 2016
Posts: 30
Rep Power: 9
Liusst is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
The Fluent manual is the primary source to know that you can use Fluent with journal files and to actually do that.

After that you should realize that the journal commands exactly fit the Fluent Text User Interface (TUI) commands.

So, either by looking into the manual or, better, by trial and error, you should try to find the required set of TUI commands needed to, say, define a point and use that point as you want for a monitor.

Once you do that, you need to write a script that, in some smart way, can write all the commands you need to, say, enter a lot of point coordinates and define monitors for them.

Finally you give the output of the script to Fluent, to read it as a journal.

You can find attached a matlab script doing something similar to what you want to do. Honestly, i don't remember what exactly, you should try it by yourself to see how it works. You can obviously change the part where the points are defined to whatever method you have to define your points (reading from file, etc.).

Obviously there might be other ways to achieve that (like scheme language in Fluent), but this is my preferred choice.
Thanks for your help!
Liusst is offline   Reply With Quote

Old   November 7, 2022, 08:00
Default
  #6
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Hi Liusst

Did you achieve this? I am trying to do this exactly. Can you please help?

Regards
mz_uon is offline   Reply With Quote

Old   January 3, 2023, 10:56
Default
  #7
New Member
 
Rav
Join Date: Oct 2018
Posts: 1
Rep Power: 0
rav-nu is on a distinguished road
Quote:
Originally Posted by mz_uon View Post
Hi Liusst

Did you achieve this? I am trying to do this exactly. Can you please help?

Regards
Not sure if this is the most efficient way but it works for me. So I get a list of points with their name on an spreadsheet (col1: point name, col2: x, col3: y and col4: z). Then on the fourth column I combine it with the TUI command ="point-surface "&<col1>&" "&<col2>&" "&col<3>&" "&<col4>

I then paste these on the console after navigating to "surface/" or include it in my journal file.
rav-nu is offline   Reply With Quote

Old   January 3, 2023, 11:21
Default
  #8
Member
 
Join Date: Apr 2020
Posts: 76
Rep Power: 6
mz_uon is on a distinguished road
Hi rav-nu

Thanks for your message. Yes, it worked out using the journal file.
Now, is there a way to do it for CFD-post then?

Regards
mz_uon 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
Multiple cell zones in FLUENT bluemonkee FLUENT 14 May 23, 2017 00:02
How to create matching mesh zones so that periodic boundary can be created in Fluent cgoodale1 STAR-CCM+ 3 February 29, 2016 12:34
How to Create a Multiple Point Vortice Vector Field AHutchison Main CFD Forum 0 July 29, 2013 23:38
Multiple probe points oyvinl CFX 1 February 21, 2011 20:36
create a probe with fluent Aenseeiht FLUENT 3 April 29, 2010 03:27


All times are GMT -4. The time now is 03:43.