User Subroutine for Inlet Velocity
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
User Subroutine for Inlet Velocity
Hello everyone.I need a small favour to ask.If someone could guide me and provide me with a very close subroutine that serves the purpose I am trying to do.I have done the part in the GUI but want to use a subroutine in the hope that it will reduce my simulation time from 1.5-2 days to less time.
-
- Posts: 4080
- Joined: Mon Feb 20, 2012 3:25 pm
Re: User Subroutine for Inlet Velocity
Hello,
The expressions used in the GUI are already converted to compiled code (see cs_meg_* files in the src directory of a case that has run), so do not expect any gain from using a user-defined function here.
For performance, did you look at the performance.log file to see which steps are the most costly (usually linear-equation solvers and gradients) ?
Regards,
Yvan
The expressions used in the GUI are already converted to compiled code (see cs_meg_* files in the src directory of a case that has run), so do not expect any gain from using a user-defined function here.
For performance, did you look at the performance.log file to see which steps are the most costly (usually linear-equation solvers and gradients) ?
Regards,
Yvan