diff options
author | Jayaram Pai | 2014-06-04 12:13:10 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-06-04 12:13:10 +0530 |
commit | 1c7da8eb96579c79bb446415303bb1e0db501e65 (patch) | |
tree | 258f45fa9d8d247deb7aa216912d837477eaeade | |
parent | 4f3462829275e1cd57ba3641abc1d59b7e70e1a5 (diff) | |
download | cfd_textbook_companion-master.tar.gz cfd_textbook_companion-master.tar.bz2 cfd_textbook_companion-master.zip |
-rwxr-xr-x | code.inc | 87 | ||||
-rwxr-xr-x | manage_proposal.inc | 2 | ||||
-rwxr-xr-x | proposal.inc | 2 | ||||
-rwxr-xr-x | textbook_companion.info | 2 |
4 files changed, 88 insertions, 5 deletions
@@ -128,8 +128,8 @@ function upload_examples_form($form_state) ); $form['example_type'] = array( '#type' => 'select', - '#title' => t('Example Type'), - '#options' => array('' => '(Select)', 1 => 'Simulation', 2 => 'PCB', 3 => 'Simulation & PCB'), + '#title' => t('Solver Type'), + '#options' => _list_of_solvers(), '#multiple' => FALSE, '#size' => 1, '#required' => TRUE, @@ -529,3 +529,86 @@ function _list_of_book_dependency_files() return array($book_dependency_files, $book_dependency_files_class); } +function _list_of_solvers() { + return array( + "laplacianFoam" => "laplacianFoam", + "potentialFoam" => "potentialFoam", + "scalarTransportFoam" => "scalarTransportFoam", + "adjointShapeOptimizationFoam" => "adjointShapeOptimizationFoam", + "boundaryFoam" => "boundaryFoam", + "channelFoam" => "channelFoam", + "icoFoam" => "icoFoam", + "MRFSimpleFoam" => "MRFSimpleFoam", + "nonNewtonianIcoFoam" => "nonNewtonianIcoFoam", + "pimpleDyMFoam" => "pimpleDyMFoam", + "pimpleFoam" => "pimpleFoam", + "pisoFoam" => "pisoFoam", + "porousSimpleFoam" => "porousSimpleFoam", + "shallowWaterFoam" => "shallowWaterFoam", + "simpleFoam" => "simpleFoam", + "SRFSimpleFoam" => "SRFSimpleFoam", + "windSimpleFoam" => "windSimpleFoam", + "rhoCentralFoam" => "rhoCentralFoam", + "rhoCentralDyMFoam" => "rhoCentralDyMFoam", + "rhoPimpleFoam" => "rhoPimpleFoam", + "rhoPorousMRFLTSPimpleFoam" => "rhoPorousMRFLTSPimpleFoam", + "rhoPorousMRFSimpleFoam" => "rhoPorousMRFSimpleFoam", + "rhoPorousMRFPimpleFoam" => "rhoPorousMRFPimpleFoam", + "rhoSimplecFoam" => "rhoSimplecFoam", + "rhoSimpleFoam" => "rhoSimpleFoam", + "sonicDyMFoam" => "sonicDyMFoam", + "sonicFoam" => "sonicFoam", + "sonicLiquidFoam" => "sonicLiquidFoam", + "bubbleFoam" => "bubbleFoam", + "cavitatingFoam" => "cavitatingFoam", + "compressibleInterFoam" => "compressibleInterFoam", + "interFoam" => "interFoam", + "interDyMFoam" => "interDyMFoam", + "interMixingFoam" => "interMixingFoam", + "interPhaseChangeFoam" => "interPhaseChangeFoam", + "LTSInterFoam" => "LTSInterFoam", + "MRFInterFoam" => "MRFInterFoam", + "MRFMultiphaseInterFoam" => "MRFMultiphaseInterFoam", + "multiphaseInterFoam" => "multiphaseInterFoam", + "porousInterFoam" => "porousInterFoam", + "settlingFoam" => "settlingFoam", + "twoLiquidMixingFoam" => "twoLiquidMixingFoam", + "twoPhaseEulerFoam" => "twoPhaseEulerFoam", + "dnsFoam" => "dnsFoam", + "chemFoam" => "chemFoam", + "coldEngineFoam" => "coldEngineFoam", + "dieselEngineFoam" => "dieselEngineFoam", + "dieselFoam" => "dieselFoam", + "engineFoam" => "engineFoam", + "fireFoam" => "fireFoam", + "PDRFoam" => "PDRFoam", + "reactingFoam" => "reactingFoam", + "rhoReactingFoam" => "rhoReactingFoam", + "XiFoam" => "XiFoam", + "coalChemistryFoam" => "coalChemistryFoam", + "icoUncoupledKinematicParcelDyMFoam" => "icoUncoupledKinematicParcelDyMFoam", + "icoUncoupledKinematicParcelFoam" => "icoUncoupledKinematicParcelFoam", + "LTSReactingParcelFoam" => "LTSReactingParcelFoam", + "porousExplicitSourceReactingParcelFoam" => "porousExplicitSourceReactingParcelFoam", + "reactingParcelFilmFoam" => "reactingParcelFilmFoam", + "reactingParcelFoam" => "reactingParcelFoam", + "uncoupledKinematicParcelFoam" => "uncoupledKinematicParcelFoam", + "buoyantBaffleSimpleFoam" => "buoyantBaffleSimpleFoam", + "buoyantBoussinesqPimpleFoam" => "buoyantBoussinesqPimpleFoam", + "buoyantBoussinesqSimpleFoam" => "buoyantBoussinesqSimpleFoam", + "buoyantPimpleFoam" => "buoyantPimpleFoam", + "buoyantSimpleFoam" => "buoyantSimpleFoam", + "buoyantSimpleRadiationFoam" => "buoyantSimpleRadiationFoam", + "chtMultiRegionFoam" => "chtMultiRegionFoam", + "heatConductionFoam"=> "heatConductionFoam", + "buoyantFoammdEquilibrationFoam" => "buoyantFoammdEquilibrationFoam", + "mdFoam" => "mdFoam", + "dsmcFoam" => "dsmcFoam", + "electrostaticFoam" => "electrostaticFoam", + "magneticFoam" => "magneticFoam", + "mhdFoam" => "mhdFoam", + "solidDisplacementFoam" => "solidDisplacementFoam", + "solidEquilibriumDisplacementFoam" => "solidEquilibriumDisplacementFoam", + "financialFoam" => "financialFoam", + ); +} diff --git a/manage_proposal.inc b/manage_proposal.inc index ce4ca2b..272242a 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -511,7 +511,7 @@ function proposal_edit_form($form_state) $form['how_project'] = array( '#type' => 'select', '#title' => t('How did you come to know about this project'), - '#options' => array('Oscad Website' => 'Oscad Website', + '#options' => array('CFD Website' => 'CFD Website', 'Friend' => 'Friend', 'Professor/Teacher' => 'Professor/Teacher', 'Mailing List' => 'Mailing List', diff --git a/proposal.inc b/proposal.inc index 6b45639..1f93577 100755 --- a/proposal.inc +++ b/proposal.inc @@ -71,7 +71,7 @@ function book_proposal_form($form_state) $form['how_project'] = array( '#type' => 'select', '#title' => t('How did you come to know about this project'), - '#options' => array('Oscad Website' => 'Oscad Website', + '#options' => array('CFD Website' => 'CFD Website', 'Friend' => 'Friend', 'Professor/Teacher' => 'Professor/Teacher', 'Mailing List' => 'Mailing List', diff --git a/textbook_companion.info b/textbook_companion.info index 318a814..b2d0bde 100755 --- a/textbook_companion.info +++ b/textbook_companion.info @@ -1,6 +1,6 @@ name = Textbook Companion description = Textbook Companion project, IIT Bombay -package = Oscad +package = CFD version = VERSION core = 6.x dependencies[] = ahah_helper |