|
[Sponsors] |
[DesignModeler] How to call a function from another js script file? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 12, 2012, 10:49 |
How to call a function from another js script file?
|
#1 |
New Member
Vladimir Karlin
Join Date: Apr 2012
Posts: 1
Rep Power: 0 |
Hi folks,
anybody knows how to call a js function, which I written earlier and keep in a separate file? In other words, I am developing a DM script in file1.js and want to call a function MyFunc(..), which is defind in file2.js in the same directory as file1.js. Thank you. |
|
Tags |
calling functions, designmodeler, jscript |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc | ofslcm | OpenFOAM Community Contributions | 25 | March 6, 2017 11:03 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |