请问maxwell11 _2d 瞬态求解器界面下的use control program具体怎么用?
请问maxwell11 _2d 瞬态求解器界面下的use control program具体怎么用?有什么功能?还有use macro?
以及output error?
有什么教程例子里用到这三个选项了么?谢谢! 同问,同问 Using a Control Program in Transient Solutions
User control programs are externally created executables that are called after each time step and allow you to control the source input, circuit elements, mechanical quantities, time step, and stop­ping criteria, based on the updated solutions.
The output variable values are output to a file with a fixed name of outputvar.ctl. The file contents use the following format:
<output variable name> <output variable value>
<output variable name> <output variable value>
...
The solver maintains a copy of the previous solution in a file called previous.ctl because you may need first derivative information for its control purpose.
The user control program uses the file with fixed name user.ctl to output control parameters to con­trol the execution of the transient solver. Each file must use a predefined syntax which is flexible enough to cover a wide range of items. The process can be summarized as:
1. The transient solver reads control parameters from user.ctl.
2. The transient solver solves the current time step.
3. The transient solver copies the previous solution to previous.ctl and writes out solution infor­mation to solution.ctl.
4. The transient solver calls the user control program;
5. The user-control program writes control information to file user.ctl.
6. Return to the transient solver if the control program succeeds with exit status 0 or fails with exit status non-zero.
7. Return to step 1 for the next time step.
页:
[1]