I have an idea which I'm not sure how to develop. In general, I need to simulate a transient problem in Fluid Mechanics. So, I can use either Fluent or CFX as solver, no matter which but CFX is more preferable (the most important goal is to develop my idea not the solver).
What I am going to do is mainly to update the problem boundary conditions, run some workbench journal files, and etc. at every time step of the solution. Here is my idea, to do the following task at every time step:
1. when time step is solved, export some certain results into an excel file.
2. wait for a trigger order to start solving the next time step (trigger can be anything like a 1/0 condition in a .txt file).
3. when trigger order is available, update the problem conditions (including boundary condition values, material properties, and so forth) through reading an excel file. And also, run a workbench journal file. It can be done by reading a workbench journal file and by use of Microsoft OfficeExcel component in workbench.
4. when excel file is read, start the next time step, then go to 1.
The hypothesis is to solve the problem in a coupled mode between Fluent/CFX solver and another code which I am writhing now. So, for every time step, both Fluent/CFX and my code should be solved together in this manner that the results of Fluent/CFX are the boundary condition for my code at the current time step, and the results of my code at the current time step are the boundary conditions for solving the next time step by Fluent/CFX.
I don't know how to control the solution, how to stop the solver at every time step and make it wait for a trigger order, how to read journal files at each time step, and so forth.
Any idea, help, suggestion in this regard is welcome and highly appreciated.