Analysis Tab#

The Analysis tab provides cloud-hosted interactive graphical workstations powered by AWS NICE DCV. It allows you to perform pre-processing (geometry preparation, mesh inspection) and post-processing (3D visualization, velocity and stress field rendering, particle trajectory animation) directly within your cloud workspace.

In computational fluid dynamics (CFD) and discrete element method (DEM) workflows, simulation output datasets—such as volumetric mesh fields, particle position dumps, and restart states—frequently reach tens to hundreds of gigabytes. Transferring these massive datasets to a local workstation for post-processing is time-consuming and bandwidth-intensive. With PSEOCS Remote Instances, visualization tools such as ParaView execute directly in the AWS cloud with high-throughput, low-latency access to your project storage, streaming only the rendered display pixels to your web browser.

Remote Instance Kinds#

PSEOCS allows you to manage two kinds of remote instances per project:

  • GPU Instance:

    Equipped with dedicated NVIDIA GPU hardware acceleration (e.g., AWS g4dn or g5 instance families). This kind is specifically optimized for hardware-accelerated 3D OpenGL rendering in tools like ParaView, interactive rendering of multi-million particle DEM assemblies, superquadric shape representations, and high-resolution video export.

  • Non-GPU Instance:

    Powered by standard CPU compute instances (e.g., AWS c6i or m6i families). This kind provides a cost-efficient workstation for lightweight post-processing, Python or Jupyter-based numerical analysis, OpenFOAM dictionary editing, command-line inspection, and case pre-processing where dedicated 3D GPU acceleration is not required.

Each project maintains independent controls and status cards for both GPU and Non-GPU instances, allowing you to launch the appropriate environment on demand.

Managing Remote Instances#

Instance Controls#

The Analysis tab provides dedicated action buttons to control the lifecycle of your remote workstations:

  • Use Remote Instance / Start Remote Instance:

    • If no instance currently exists, clicking this button provisions a fresh EC2 workstation, mounts your project storage, configures security barriers, and starts the NICE DCV graphical desktop session.

    • If an instance is currently Stopped, clicking Start remote instance resumes the existing instance while preserving its disk state and previously installed tools or configurations.

  • Stop Remote Instance:

    Pauses the remote instance when you are temporarily not using it.

    Tip

    Cost Optimization: When an instance is stopped, per-hour EC2 compute charges cease immediately, while the instance’s attached EBS volume and working state are retained. You can restart the instance later to pick up exactly where you left off.

  • Terminate Remote Instance:

    Permanently shuts down and deprovisions the remote instance when you have completed your analysis tasks. This releases all associated temporary compute resources and eliminates recurring costs.

Lifecycle Statuses#

The status card displays the current deployment state of each remote instance:

  • Unprovisioned: No remote instance has been created yet.

  • Waiting for first start: The provisioning request has been registered and instance launch is in progress.

  • Waiting to restart: A stopped instance is resuming.

  • Startup processing: The instance is running cloud-init bootstrap scripts, configuring storage mounts, and initializing the DCV server.

  • Startup processing completed / Started: The workstation is fully active and ready for desktop connection.

  • Waiting stop / Stopped: The compute instance is currently stopped.

  • Waiting to terminate / Terminated: The instance has been completely deprovisioned.

  • Capacity unavailable: Indicates that AWS currently has limited capacity for the requested instance family in the project’s cloud region. If this occurs, wait a few minutes before trying again or use a different instance type.

Idle Auto-Stop and Cost Protection#

To protect your budget against accidental charges from instances left running unattended, PSEOCS includes automated idle resource monitoring:

  • The system periodically inspects CPU utilization across all active remote workstations.

  • If a remote instance exhibits low CPU activity below configured thresholds for an extended period (typically several days), PSEOCS sends warning email notifications.

  • If the instance remains unused, the system automatically stops the instance, halting compute charges while safely preserving your data.

Connecting to the Remote Desktop#

Web Browser Access via Connection Gateway#

Once your remote instance reaches the Startup processing completed state:

  1. Click the Open via Connection Gateway button.

  2. The system opens a secure, high-performance HTML5 NICE DCV remote desktop session in a new browser tab. No local software installation or VPN configuration is required.

Workstation Authentication#

To log in to the remote desktop session:

  1. Username: The login username is pre-configured for your project environment (typically ubuntu or pseocs).

  2. Password: In the Analysis tab, the password is masked by default for privacy (••••••••):

    • Click Show to unmask the password.

    • Click Copy to place the password directly onto your clipboard.

  3. Paste the password into the NICE DCV desktop login prompt to access the full graphical desktop environment.

Accessing Project Data#

Integrated Filesystem Mount (/fsx)#

Your project’s high-performance cloud storage is mounted directly onto the remote desktop:

  • Storage Location: All project files and simulation directories are accessible under the /fsx directory (or your project storage path).

  • Immediate Availability: Simulation results generated by submitted batch jobs are written directly to this shared filesystem. As soon as a job writes output or finishes, the updated files are immediately readable on the remote workstation without any manual file transfers.

  • Direct S3 Mounts: In storage configurations backed directly by Amazon S3, the project bucket is mounted via mount-s3 to provide transparent filesystem access.

Fallback Mount Command#

If the /fsx mount is ever detached following an instance reboot or network reconnect, the Analysis tab displays the exact fallback mount command with sudo (for example, sudo mount -t lustre ...). You can copy this command and run it in the remote workstation’s terminal to reattach the filesystem.

Post-Processing and Visualization Workflow#

Using ParaView on Remote Instances#

The remote workstation comes pre-configured with industry-standard scientific visualization tools, including ParaView:

  1. Open the terminal or application menu on the remote desktop and launch ParaView.

  2. Go to File ‣ Open… and navigate to /fsx/<case_directory>.

  3. Loading OpenFOAM Datasets:

    • In your case directory, create an empty dummy file with the .foam extension (e.g., touch case.foam).

    • In ParaView, select case.foam and choose the OpenFOAM reader.

    • You can inspect internal mesh zones, boundary patches, velocity vectors (\(\mathbf{U}\)), pressure fields (\(p\)), phase fractions (\(\alpha\)), and turbulence quantities across all simulated time directories.

  4. Loading LIGGGHTS DEM Datasets:

    • Open the output dump file series (e.g., dump*.liggghts) generated by your simulation jobs.

    • Visualize discrete particle positions, grain size distributions, translational velocities, contact forces, and wear distributions.

    • Apply glyphs, clip planes, streamlines, and temporal animation controls to inspect dynamic particulate behaviour.

  5. Exporting Images and Animations:

    • Save rendered screenshots (File ‣ Save Screenshot…) or animation videos (File ‣ Save Animation…) directly into the /fsx storage directory.

    • Exported media files immediately appear in your project’s Storage tab, where you can download them directly to your local computer.

Remote Instance Boot History and Cost Tracking#

Boot History Audit Table#

The Analysis tab includes a comprehensive chronological audit table tracking all remote desktop sessions launched for the project:

  • Requested at: Exact timestamp when the boot request was submitted.

  • Kind: Specifies whether the session used a GPU or Non-GPU workstation.

  • Launch mode: Indicates whether the instance was freshly created (Create) or resumed from a stopped state (Restart).

  • Instance type: The specific AWS EC2 instance type provisioned (e.g., g5.xlarge or c6i.xlarge).

  • Requested by: The email address of the team member who initiated the workstation session.

  • Command & Command status: Any custom initialization script executed during startup along with its execution status.

  • Status: Final lifecycle status of the boot session (e.g., Completed, Running, Failed).

  • Finished at: Timestamp when the session was stopped or terminated.

  • Credit: The total credit amount charged for the session based on elapsed runtime and hourly instance rates.

Active Session Cost Tracking#

While a remote instance is actively running, PSEOCS tracks credit consumption in real time based on active runtime. These ongoing costs are incorporated into the overall project expenditure visible on the Cost tab.