October 19, 2020 at 7:46 amLugia_06Subscriber
I read the post answered by @DrAmine and @Kremella (https://forum.ansys.com/discussion/2878/journal-file-for-dynamic-mesh-update) and think it will save me a lot of time if I could also run my multi-stage transient model with a journal file.? I have defined the boundary conditions, dynamic motion/zones, cell registers etc on the GUI and now all I need is to write a jounral file that can automatically run for multiple stages. However, the TUI command lines does not work very well?. Any help will be very much appreaciated.
Journal file name aaa.jou
Opening input journal to file "aaa.jou"
invalid command [nozzle_internal]
cell zone id/name(1) [()] nozzle_internal
Error: eval: unbound variable
Error Object: nozzle_internal
1. Start journal file
2. Initialize the case
3. Patch cell register "nozzle_internal" fluid mixture to pressure 10000Pa
4. Patch cell register "nozzle_internal" fluid water to volume fraction to 1
5. Setup number of time steps and the step size for stage 1
6. Run the model
7. Delete the cell register "nozzle_internal"
8.Modify the number of time steps and the step size for stage 2
9.set up and Repeat 8 for other stages
1. How to patch for a cell register when the TUI console does not regonise the name of it and it does not have an ID (The command lines above shows the error)
2. How to differentiate mixture and pure fluid(water) in TUI and what are the commands for defining pressure and volume fraction (The TUI command text guide under patch does not have an explanation)
3. How to setup the number of time steps and the step size, and run (the TUI command line guide only introduced solve/iterate but not very useful for transient, I have tried solve/set/adaptive-time-stepping but the system cannot recognise this command)
4.What are the commands in the bracketsOctober 19, 2020 at 10:20 amRobAnsys EmployeeIf you use the TUI manually the commands will follow and tend to be fairly logical. For your commands, run each one manually to check what's being asked in the code as it's common to miss something. Not all commands are fully documented as each will vary based on which models are active: ie the initialise values will only ask for inputs based on models so the command is different it k-e, k-w or RSM turbulence is on. ncx-gui commands come from writing a transcript for macros from the GUI. They're often unreliable as they're dependent on whether the panel was open or not before and after running the journal. They're also pretty much impossible to read. nIf you need to set up and initialise a model it's easier to do this in the GUI. Save the case & data then use journals to control if you're running on a cluster. Whilst I have set up models using TUI journals I don't recommend it: we have 1500 boundary conditions to input which I wasn't going to spend 2 days doing manually! nOctober 19, 2020 at 1:36 pmLugia_06SubscriberThanks for your suggestion !nViewing 2 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
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- 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.