-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
146 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
import { CONSTRAINED } from '../../store/actionTypes'; | ||
export const initialState = { | ||
"name": "initialState", | ||
"symbol_table": [ | ||
{ | ||
"input": true, | ||
"name": "PRESSURE", | ||
"value": 500, | ||
"units": "LB/SQ-IN", | ||
"lmin": 0, | ||
"lmax": CONSTRAINED, | ||
"cmin": 0, | ||
"cmax": 1500, | ||
"validmin": -Number.MAX_VALUE, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 1.0, | ||
"tooltip": "Gas PRESSURE applied to piston AREA", | ||
"type": "equationset", | ||
"hidden": false | ||
}, | ||
{ | ||
"input": true, | ||
"name": "RADIUS", | ||
"value": 0.4, | ||
"units": "INCH", | ||
"lmin": CONSTRAINED, | ||
"lmax": CONSTRAINED, | ||
"cmin": 0.04, | ||
"cmax": 0.5, | ||
"validmin": Number.MIN_VALUE, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 0.01, | ||
"tooltip": "Piston dimension; creates AREA where PRESSURE is applied", | ||
"type": "equationset", | ||
"hidden": false | ||
}, | ||
{ | ||
"input": true, | ||
"name": "THICKNESS", | ||
"value": 0.04, | ||
"units": "INCH", | ||
"lmin": CONSTRAINED, | ||
"lmax": CONSTRAINED, | ||
"cmin": 0.002, | ||
"cmax": 0.05, | ||
"validmin": Number.MIN_VALUE, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 0.001, | ||
"tooltip": "Dimension of cylinder wall providing containment for PRESSURE", | ||
"type": "equationset", | ||
"hidden": false | ||
}, | ||
{ | ||
"input": false, | ||
"name": "FORCE", | ||
"value": 0, | ||
"units": "LBS.", | ||
"lmin": CONSTRAINED, | ||
"lmax": 0, | ||
"cmin": 1000, | ||
"cmax": 10000, | ||
"validmin": -Number.MAX_VALUE, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 1, | ||
"tooltip": "Push generated by PRESSURE acting on piston AREA", | ||
"type": "equationset", | ||
"hidden": false | ||
}, | ||
{ | ||
"input": false, | ||
"name": "AREA", | ||
"value": 0, | ||
"units": "SQ.-IN.", | ||
"lmin": 0, | ||
"lmax": 0, | ||
"cmin": 0, | ||
"cmax": 10, | ||
"validmin": 0.0, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 0.1, | ||
"tooltip": "Effective amount of piston surface exposed to PRESSURE", | ||
"type": "equationset", | ||
"hidden": false | ||
}, | ||
{ | ||
"input": false, | ||
"name": "STRESS", | ||
"value": 0, | ||
"units": "PSI", | ||
"lmin": 0, | ||
"lmax": CONSTRAINED, | ||
"cmin": 0, | ||
"cmax": 3000, | ||
"validmin": -Number.MAX_VALUE, | ||
"validmax": Number.MAX_VALUE, | ||
"sdlim": 10, | ||
"tooltip": "Force per unit area within cylinder wall; created by PRESSURE", | ||
"type": "equationset", | ||
"hidden": false | ||
} | ||
], | ||
"labels": [ | ||
{ | ||
"name": "COMMENT", | ||
"value": "PCYL default start point - US units ..." | ||
} | ||
], | ||
"type": "Piston-Cylinder", | ||
"version": "7", | ||
"result": { | ||
"objective_value": 0, | ||
"termination_condition": "" | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters