July 12, 2021 at 3:33 pmholdy97Subscriber
Is there any way to get the automatic exports to export as a true .txt file? I'm currently using the export settings shown in the attached picture, and every time I solve the problem I have to go append .txt to any of the files I want to later import into Matlab. Very annoying, any help would be appreciatedJuly 12, 2021 at 4:12 pmDrAmineAnsys EmployeeYou might export in ASCII format Fluent Solution Data.
July 12, 2021 at 4:30 pmholdy97SubscriberHi That is how I am currently exporting (see image) but it does not export with any type of extension such as csv, txt, etc. I always have to go on and add .txt after the fact so that i can then import into Matlab. Am hoping to be able to export directly with .txt file extension
July 13, 2021 at 11:48 amDrAmineAnsys EmployeeI do not download any attachments. Insert your image in your answer. ASCII is a text like format so I do not understand the ambiguities you are facing. I think about one line of script in Third Party program to do that or any kind of converter or shell script to change the type.
July 13, 2021 at 12:38 pmRobAnsys EmployeeThe format is plain text, and if you name the export as filename.txt Fluent will usually respect that. Otherwise you'll need to alter the import in Matlab to spot the files without the .txt extension.
July 13, 2021 at 1:04 pmholdy97SubscriberThanks, I'll try that. Adding the .txt in Fluent doesn't seem to work because it is transient data and I am appending the filenames with "flow time"
July 13, 2021 at 2:33 pmai0013SubscriberTry appending the ".txt" to the file-name via TUI and by defining an auto-execution command. Here is an example:
solve/execute-commands/add-edit command-1 1 "time-step" "display/save-picture \"/gpfs/scratch/alainislas/fluent/data/myFile_%.06t.png\" "
In my case I am saving an instantaneous snapshot of my graphics window. Note that %.06t appends the flow-time with 6 digit precision + ".png" appends the file format. I guess you can use something similar for your purpose. As suggestion, avoid naming folders with strings containing spaces.
Viewing 6 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Rated Tags
© 2022 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.