Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2d39801b authored by KOWALSKI Jerome's avatar KOWALSKI Jerome
Browse files

add simulation examples

parent 6f2624ff
No related branches found
No related tags found
No related merge requests found
...@@ -23,3 +23,41 @@ docker run -i -t --network host dce-mri ...@@ -23,3 +23,41 @@ docker run -i -t --network host dce-mri
``` ```
## Simulation examples ## Simulation examples
### Direct problem
Inside the docker container:
Create the vascularization
```terminal
mkdir /Output/no_tumor
mkdir /Output/tumor
cd /Output/no_tumor
/build/Vascularization.out -x100 -y100 -z1 -V. -Irandom0 -R100 -X/Output/no_tumor/no_tumor.xml
cd /Output/tumor
/build/Vascularization.out -V/Output/no_tumor/no_tumor.xml -R10 -r7 -Tr15 -Tx25 -Ty25 -Tc10 -N -R100 -X/Output/tumor/tumor.xml
```
Compute the transport in the created vascularization
```terminal
cd /Output/tumor
mkdir conc && cd conc
/build/Vascularization.out -V../tumor.xml -Cupwind
```
### Inverse problem
Inside the docker image
```terminal
cd /Output/tumor/
mkdir inverse && cd inverse
COMMAND="/build/VascularizationInverse.out"
PREF="/Output/tumor/conc/markerMRI00"
SUFF=".C.binary"
for i in $(seq -f "%03g" 0 180)
do
COMMAND="$COMMAND $PREF$i$SUFF"
done
$COMMAND
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment