Git Product home page Git Product logo

simvascular.github.io-archive's Introduction

SimVascular Website (compiled branch)

This is the repository for the SimVascular website.

Usage

The source of the SimVascular website documentation is stored in the source branch. The documentation is written in a lightweight markup language with plain text formatting syntax called markdown. Markdown .md files can be editied using a text editor.

The documentation markdown files in the source branch are used to generate the SimVascular website html files using the ruby programming language. These html files are then pushed to the master branch. The SimVascular website will automatically detect the changed master branch and update itself. DO NOT edit the master branch files!

You should first fork simvascular.github.io to your own repository and then sync it with https://github.com/SimVascular/simvascular.github.io. For example, after forking to https://github.com/ktbolt/simvascular.github.io

$ git clone https://github.com/ktbolt/simvascular.github.io
$ cd simvascular.github.io
$ git remote add upstream https://github.com/SimVascular/simvascular.github.io
$ git remote -v
origin	https://github.com/ktbolt/simvascular.github.io (fetch)
origin	https://github.com/ktbolt/simvascular.github.io (push)
upstream	https://github.com/SimVascular/simvascular.github.io (fetch)
upstream	https://github.com/SimVascular/simvascular.github.io (push)

Be sure to pull in any changes to the remote source branch

$ git fetch upstream
$ git checkout source
$ git merge upstream/source
$ git push origin source

Setting up for editing

Create a clone of the master branch and then check out the source branch

$ git clone https://github.com/SimVascular/simvascular.github.io.git
$ cd simvascular.github.io
$ git checkout source

Install the following packages

$ sudo apt-get install ruby ruby-dev
$ sudo apt-get install nodejs
$ gem install bundler (may prompt for password for sudo access)
$ bundle install (get dependencies)

Editing the User Guides Documentation

The documentation for the User Guides is stored in markdown files located in subdirectories under the simvascular.github.io/source/documentation/ directory

compile/
flowsolver/
genbc/
installation/
meshing/
modeling/
python_interface/
quickguide/
references/
rom_simulation/
simcardio/
svFSI/

The documentation markdown files for the Clinical Case Studies are located in subdirectories under the simvascular.github.io/source/clinical directory

aortofemoral1/
aortofemoral2/
coronary/
pulmonary/

The results of documentation edits can be viewed using a local web server. The web server is started using

$ bundle exec middleman server

View the SimVascular website html files generated from the markdown file edits by opening the url http://0.0.0.0:4567 in a browser. The results of new edit are view by refreshing the browser.

Editing the Home Page Our Team Section

The content for the home page Our Team section is stored in the _team.erb embedded Ruby file located in the simvascular.github.io/source/homepage directory. Edit this file to add or remove the picture and biography of a team member. The team member pictures are located in the simvascular.github.io/source/img/bio directory. The new team picture must have the same width, height (242x200) and resolution (72x72) as the other team pictures in order for the team boxes to correctly line up. You can set these properties using the GIMP image editor by selecting image -> Print Size ....

The team member biographies are stored in markdown files located in the simvascular.github.io/source/homepage/team_members directory. To view changes made to the team picture you must stop and restart the middleman web server.

Building the master branch production files

The master branch html files are generated from the source branch by running

$ bundle exec middleman build

in the top level simvascular.github.io directory. This creates a build directory containing the html files to be pushed to the master branch. Copy the build directory someplace outside of the simvascular.github.io, checkout the master the branch, and copy the files in build directory. For example

$ cd simvascular.github.io
$ git branch
source
$ bundle exec middleman build
$ cp -r build ~
$ git checkout master
$ cp -r ~/build/* .
$ git add .
$ git commit
$ git push origin master

Do a pull request on master and merge into the remote master branch. The changes will then appread on http://simvascular.github.io.

simvascular.github.io-archive's People

Contributors

caseyfleeter avatar czhu20 avatar dependabot[bot] avatar gmaher avatar jmerkow avatar ktbolt avatar osmsc avatar updega2 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simvascular.github.io-archive's Issues

Add a description in the simulation section about how to visualize OSI

The documentation has simulation results sections for various User Guides and Clinical Cases describing converting solver results and visualizing OSI. However, it fails to mention that to get OSI results you must set the convert results Start step to be non-zero.

I'm not sure if I should add this to the documentation or fix svpost, this kind of implicit behavior causes a lot of problems for the user.

Explain how to use GenBC on Windows

A user has encountered several problems while trying to use GenBC on Windows OS. The following steps were needed to allow creating a GenBC executable

  1. Install Mingw to compile GenBC fortran code
  2. Add -pg flag when compiling
  3. Create executable named GenBC not GenBC.exe

I will add these steps to the GenBC documentation.

Restructure the SimCardio page

Now that svFSI has its own dedicated pages, the existing SimCardio page can be restructured to better demonstrate the scope of the project. I would like to propose a change like this:
image

Here, Cardiac Geometric Modeling Tools describes Fanwei's machine-learning based cardiac modeling workflow. Multiphysics finite element solver will direct readers to svFSI page. Purkinje Network Plugin showcases the generation of Purkinje network using SimVascular plugin.

The 3D segmentation documentation is out of date.

The current 3D segmentation documentation http://simvascular.github.io/docsQuickGuide.html#imagenavigator is out of date

  1. The Colliding Fronts documentation describes a panel that does not look anything like the current panel. The way to access this panel is also not correct, Colliding Fronts is no longer accessed under the SV Data Manager Segmentations menu.

  2. The SV MITKSegmentation tool it not even described.

I will figure out how to use these tools and then document them.

Add documentation for the Python API

Documentation describing the SimVascular Python API needs to be added to the SimVascular web site.

This replaces the SimVascular GitHub Issue #519.

I've added a Python Interface entry under User Guides documentation and several sections to the Python Interface page.

59933420-4b8cb680-93fe-11e9-82c5-5146e7952f8e

Add "features" list to the website

The website should have a page with a summary of features and capabilities for both the front end and the solvers, grouped into categories.

VMTK cap_with_ids does not work

When using the cap_with_ids returns error vmtk.Error: Vmtk.cap_with_ids() Error creating cap with ids. "cap" works fine, but does not return proper array name for later steps.

Can't see all references for the 0D solver

The last reference for the theory on the 0D Solver is blocked by the "Copyright © SimVascular Development Team - 2017" sign (see image below). Is there a way to fix this issue?

image

Remove confusing description in Simulation Guide - Example 3

In the Simulation Guide - Example 3 section the following text is supposed to describe how to setup a deformable wall simulation in svSolver

Different from Example 2, the step also solves initial displacement, write the initial displacment to a vtp file “displacement.vtp” to review the solution, and finaly append it to restar.0.1 we just copied from restart.500.0 of Example 2.

Even without the spelling mistakes it is not at all clear what this means; append a vtp file to a restart file?

We can probably just remove this bit.

documentation landing page

I think it would be more efficient if the "documentation" button at the top of the main SV homepage took you directly to a documentation landing page. We could eliminate the documentation section of the main page and take users directly to the documentation sites. Right now it requires two clicks to get to documentation when it could be one.

Add documentation for the new Colliding Fronts plugin

The Colliding Fronts plugin has been rewritten with a new GUI (see SimVascular/SimVascular#706). I need to now update the SV web documentation.

The Colliding Fronts documentation is under the Modeling Guide / Segmentation / Segmenting an image with 3D segmentation section.

I also need to make sure all GUI widgets have Qt documentation that appears when the mouse hovers over the widget, most widgets are already documented.

Add adaptive meshing protocol

Ethan Kung's group has developed a useful protocol for adaptive meshing.

Add a description of the protocol to the Meshing Adaptive section. Also add a reference to the paper.

MathJax not loading

The MathJax mathematical notation JavaScript library is not loading because of increased security measures on MacOS and Windows platforms.

Add list of functionality to website

It's currently difficult to quickly figure out what features / functionality SimVascular provides. I think the website needs a concise list of features with short descriptions or link to documentation. For example:

  • FSI with ALE
  • FSI with CMM
  • electrophysiology simulations
  • reduced order model generation
  • boundary conditions with OD models
  • etc.

cross platform support

I can't find anywhere on the main SimVascular website where it says we provide cross platform support. You have to go to the simtk.org downloads site to see that there are installers available for mac, windows, and linux. Since this is a major selling point of our project, we should highlight it more.

The Modeling Guide blending documentation is wrong.

The Modeling Guide blending documentation shows the following Modeling tool Blend panel

Screen Shot 2020-08-13 at 1 04 02 PM

However, the Blend panel in the current SV GUI looks like

Screen Shot 2020-08-13 at 1 04 17 PM

None of the parameters in the lower part of this panel are documented.

The documentation has numerous spelling mistakes

The mostly older documentation has numerous spelling mistakes, I found six in a single section in the Modeling Guide.

The newer documentation looks pretty good but the simcardio docs seem to have a few.

Spelling is easy to check and correct with aspell, will go though the docs and fix the spelling missteaks.

Fix known security vulnerabilities

We are getting a Known security vulnerabilities detected alert from GitHub for

activesupport
rack
sprockets
ffi

We need to update the versions of these guys.

Format of BCT file section is missing definitions

The discussion of theBCT file format in http://simvascular.github.io/docsFlowSolver.html#bctfile is missing the definition of nn

np nl
x1 y1 z1 nl nn
vx1  vy1  vz1  t1
 .    .    .    .
 .    .    .    .
 .    .    .    .
vxnl vynl vznl tnl

nn is the global node ID of an inlet node. I had to look in the svSolver source to figure this out!

This description could be made clearer by using subscripts (vxnl) and why not use descriptive names rather than two-characters: np -> NumFaceNodes.

Add section on using ParaView to the documentation

ParaView is typically used to visualize SV simulation results. There are several short discussions about visualizing results in various sections of the documentation but I think it would be helpful to users to have a section dedicated to using ParaView, add more detailed information.

Documentation does not mention that you need to install svSolver

The Quick Guide Simulation section does not mention that you need to install svSolver to run a simulation.

The Simulation Guide section wrongly states

Notice: To get full functions from the Simulation tool, it uses three solvers: Presolver (svPre), Flowsolver (svSolver), Postsolver (svPost). Normally, SimVascular already includes the solvers and can find them automatically. Users don’t need to set up the solvers. However, in case SimVascular can’t find them while users are using the Simulation tool, refer to Solver Configuration.

There are not three solvers and they are not included in SV.

In the Simulation Guide/Configurating Solvers (Optional) section contradicts the above section and does hint that you may need to install svSolver.

SimVascular solvers(presolver, flowsolver, postsolver) are used as individual executable programs. They are called by SV Simulation tool to create data files, run simulation, and convert results to files in VTK formats. Normally those solvers are installed separately. However, SimVascular can automatically find those solvers. In case your SimVascular can’t find them, or you want to use different solvers, you need to explicitly tell SimVascular where to find or how to use them.

I will add a section (not optional) that states that svSolver needs to be installed and how to install it.

Add documentation to the GenBC tutorial for a pressure waveform boundary condition.

I got some Fortran code and a bit of text from Weiguang to add a new section to the GenBC tutorial for a pressure waveform boundary condition.

The GenBC tutorial did not work as described so I did some rewrite to correct it and make it a bit more more concise.

It was not clear how to use the code but I got it finally working with help from Weiguang. I will now add the steps to the tutorial needed to reproduce the correct solver.inp and .svpre files.

Receiving Access to Simvascular Supercomputing Gateway

I am a student at Clemson University and requested access to the Simvascular Supercomputing Gateway last week in order to run CFD's with Simvascular models. What is the normal timeline to expect for being approved?

Thanks,
Daniel Custer

Integrate SimCardio Guide

Ignoring the README here that states DO NOT edit the master branch files! and not followiing the existing documentation practices the initial SimCardio Guide documentation was incorrectly added to the master branch as html. That was later moved into .erb files but the documentation does not display correctly.

I will add the files to the source branch and see if I can get the documentation to display correctly.

Fix links to 1D input files

@CZHU20 found that the links to the 1D input files in the ROM simulation guide are no longer working because we moved them to a different folder. There are two occasions of

The complete 1D Simulation input file is available

@ktbolt I tried to fix them myself but I didn't understand the edit/build instructions. Thank you!!

Incorrect command names in Simulations Guide svPre Commands section

In the Simulations Guide svPre Commands section there is a list of commands used in svPre. Some of these command names do not match the names used by svPre. For example

The documentation gives **read_restart_displacements** but it should be **read_displacements_restart**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.