Star-CCM: Difference between revisions
| Line 86: | Line 86: | ||
==Common Errors== | ==Common Errors== | ||
=== File Related Errors === | |||
If the scripts error due to not being able to find a file, ensure the account which is being used has the user's GT OneDrive mounted to the file explorer. getSharePointDir.m uses the system variable <code>"OneDriveCommercial"</code> , which will return no value should your GT OneDrive not be accessible. Additionally, getSharePointDir.m only looks two levels deep within your OneDrive for the Documents - GT Motorsports folder from SharePoint, so if this folder is nested within more than two folders from your OneDrive, it will return no result and the script will error. | |||
The scripts assume the following paths: | |||
from Sharepoint: | |||
Periview: <code>...\Documents - GT Motorsports\Aero\CFD\Periview</code> | |||
CFD Numbers: <code>...\Documents - GT Motorsports\Aero\CFD\CFD Numbers</code> | |||
CFD Archive: <code>...\Documents - GT Motorsports\Aero\CFD\CFD Archive</code> | |||
Revision as of 04:43, 12 June 2025
This page contains resources for running and trouble shooting Star CCM+ on our MATLAB sim queue. For a detailed overview of Computational Fluid Dynamics (CFD), its theory and best practices, see the CFD section of the Aero Handbook.
MATLAB Sim Queue
How to Run the Queue
Various Scripts
add.m
add FXXYYY- adds already-prepared runs
aeroload.m
- outputs forces from a run, rather than coefficients
arcNums.m
- uploads run numbers to SharePoint
arcPeri.m
- uploads run Periview files to SharePoint
arcRuns.m
- uploads run folder to SharePoint
cleanRuns.m
comp.m
comp FXXYYYY FZZ####- similar to compareRuns.m, but for two runs
compareRuns.m
- compares any number of runs through several parameters, at both part and vehicle level
cq.m
cq- clears the active queue
- returns user SharePoint directory
makeRun.m
- generates run files from baseline run
makeTemp.m
mq.m
mq- displays mesh queue
q.m
q- displays solve and mesh queue
runMeshQ.m
- runs mesh queue
runQ.m
- runs queue with the runs in the queue
- runs can still be added to queue once it is initialized
saveInit.m
status.m
status
- continuously displays solve and mesh queue
- discontinued by hitting
ctrl+c(this command is true for MATLAB in general) - automatically run when from runQ.m command
Common Errors
File Related Errors
If the scripts error due to not being able to find a file, ensure the account which is being used has the user's GT OneDrive mounted to the file explorer. getSharePointDir.m uses the system variable "OneDriveCommercial" , which will return no value should your GT OneDrive not be accessible. Additionally, getSharePointDir.m only looks two levels deep within your OneDrive for the Documents - GT Motorsports folder from SharePoint, so if this folder is nested within more than two folders from your OneDrive, it will return no result and the script will error.
The scripts assume the following paths:
from Sharepoint:
Periview: ...\Documents - GT Motorsports\Aero\CFD\Periview
CFD Numbers: ...\Documents - GT Motorsports\Aero\CFD\CFD Numbers
CFD Archive: ...\Documents - GT Motorsports\Aero\CFD\CFD Archive