tag:forum.featool.com,2006:forum-5Nabble - Technical Issues2024-03-29T05:12:18ZBefore submitting a <b>technical issue with the software</b> or <b>bug report</b>, please first
ensure you have the latest version and build of
the toolbox(select <i>About FEATool/CFDTool</i> from the <i>Help</i> menu to find your
current version and compare with the latest releases as announced in the <a href="https://forum.featool.com/News-and-Announcements-f3.html" target=_blank rel="nofollow" link="external">News</a> topic. Please, also have
a look at the
<a
href="https://www.featool.com/doc" target="_blank" rel="nofollow" link="external">User's Guide and Documentation</a>, <a
href="https://www.featool.com/faq" target="_blank" rel="nofollow" link="external">Frequently Asked
Questions (FAQ)</a>, and <a
href="https://www.featool.com/articles" target="_blank" rel="nofollow" link="external">Technical Articles</a>.
<br><br>
<div style="text-align:left">In order to get better help, <b>please include as much
information as possible with all issue reports</b>, such as:</div>
<table>
<tr>
<td>
<ul style="text-align:left; padding-left:3em;">
<li>Steps to reproduce the error</li>
<li>Error and warning messages</li>
<li>Model (.fea) files and/or (.fes/.m) scripts</li>
</ul>
</td>
<td>
<ul style="text-align:left; padding-left:3em;">
<li>Toolbox version and build number</li>
<li>Configuration (Select "<b>System Info...</b>" from the "<i>Help</i>" menu)</li>
<li>Other relevant information</li>
</ul>
</td>
</tr>
</table>
<div style="text-align:left">Issues from licensed users, and users which have answered forum questions and/or submitted showcase and model examples will be prioritized for developer support.
</div>tag:forum.featool.com,2006:post-1613Spurious displacement when combining copied/transformed objects2024-02-09T11:58:17Z2024-02-09T12:05:06Zecook
I'm having trouble combining object copies rotated about horizontal axes. In the following geometry a copy of a 'leaf' (CS2) is being made under a rotation about a vertical axis passing through the origin.
<br/><img src="http://forum.featool.com/file/n1613/orig_leaves_test.png" border="0"/><br/><br/>After copying, a rotated copy (of CS4) is attempted about a horizontal axis at the upper edge of the leaf:
<br/><img src="http://forum.featool.com/file/n1613/leaves_with_1st_rotcopy.png" border="0"/><br/><br/>All looks good so far:
<br/><img src="http://forum.featool.com/file/n1613/Capture3.png" border="0"/><br/><br/>Now we attempt to combine objects after deleting CS4:
<br/><img src="http://forum.featool.com/file/n1613/Capture4.png" border="0"/><br/><br/>The combined geometry places the CS5 copy in an entirely new position, as if translated upward and toward the z-axis (rotation looks unchanged.) Note that the initial copy operation isn't the issue: the same thing will happen for a translated copy or a brand new object. Analogous behavior isn't noted when combining copies (objects like CS4) made with a rotation about the z-axis.
<br/><img src="http://forum.featool.com/file/n1613/Capture_final.png" border="0"/><br/><br/>Any help would be appreciated.
<br/><br/>Any help would be appreciated.
tag:forum.featool.com,2006:post-1619Activation error2024-02-21T14:22:35Z2024-02-21T14:22:35Zlichris
Hi,
<br/><br/>I was trying to activate my license. But when I paste the activation token and click "ok", it say "license server activation error".
tag:forum.featool.com,2006:post-1609Crash when try an example2024-02-02T03:13:12Z2024-02-02T03:13:12Zsasza
Hi,
<br/>when I try any of example (for time of writing I try:
<br/>-plate with hole
<br/>-spanner
<br/>-heat transfer)
<br/>I get crash on solve with MATLAB error. Crash report on the end.
<br/>I work on Debian
<br/><pre>
uname -a
Linux desktop 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
</pre>If you need I can check something more.
<br/>Any idea how to solve this issue?
<br/><br/>Have a nice dat
<br/>Piotr
<br/><br/><pre>
--------------------------------------------------------------------------------
Illegal instruction detected at 2024-01-31 22:39:32 +0100
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : true
Desktop Environment : XFCE
GNU C Library : 2.28 stable
Graphics Driver : Brian Paul Mesa X11 Version 2.1 Mesa 17.1.3
Graphics card 1 : 0x1002 ( 0x1002 ) 0x683d Version 5.2.0.19 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : Unknown
MATLAB Root : /storage/projekty/FEM/matlab_runtime/R2023a
MATLAB Version : 9.14.0.2337262 (R2023a) Update 5
OpenGL : hardware
Operating System : Debian GNU/Linux 10 (buster)
Process ID : 31074
Processor ID : x86 Family 6 Model 45 Stepping 7, GenuineIntel
Session Key : afb6733f-fd53-4c59-a6d6-d3f15cec50df
Window System : The X.Org Foundation (12004000), display :0.0
Fault Count: 1
Abnormal termination:
Illegal instruction
Current Thread: 'MCR 0 interpret' id 140172598388480
Register State (from fault):
RAX = 0000000000000001 RBX = 00007f7c79ee7e88
RCX = 00007f7b03cda000 RDX = 0000000000000002
RSP = 00007f7c79ee0000 RBP = 0000000000000001
RSI = 00007f7b03dda060 RDI = 00007f7b03cda080
R8 = 00007f7b03dda000 R9 = 00007f7b1a96b878
R10 = 0000000000000090 R11 = 0000000000000004
R12 = 0000000000000001 R13 = 0000000000000011
R14 = 0000000000000002 R15 = 00007f7b1a96b758
RIP = 00007f7b1029a854 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f7b1029a854 /home/sasza/.mcrCache9.14/FEAToo0/FEATool_Mult/build/featool_pkg/app/lib/mumps/dmumpsmex_st.mexa64+02046036
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
</pre>
tag:forum.featool.com,2006:post-1557Openfoam: could not start app decomposePar2023-10-26T15:57:01Z2023-10-26T15:57:01ZJan
<img src="http://forum.featool.com/file/n1557/Openfoam_issue.jpg" border="0" style="display: block; margin-left:auto; margin-right:auto;"/><br/><br/>When I run OpenFOAM in FEATool, I received OpenFOAM error "Openfoam: could not start app decomposePar". I do not know it is an error in FEATool or OpenFOAM. Could you help me on this issue?
tag:forum.featool.com,2006:post-1548Could not evaluate "aSubExpr" error.2023-09-21T15:30:30Z2023-09-21T15:30:30Zmsandink
Hello!
<br/><br/>I am trying to simulate a photoacoustic system in your program (now including a driving force in the form of a simulated laser). The thermoacoustic equations I coupled all seem to potentially work, but the laser heating term I'm using doesn't seem to work, no matter what I do. The equation I'm using is as follows (not a PDE, but perhaps I can formulate it as one):
<br/><br/><i>H = I/(pi*w^2)*exp((-y^2+z^2)/(2w^2))</i><br/><br/>This is a standard equation for heating by a Gaussian laser. The error I get when trying to solve is as follows:
<br/><i>Could not evaluate the expression "-(aSubExpr(:,1))./(pi.*(0.001).^2).*exp(-aSubExpr(:,2).^2./(2w.^2)-aSubExpr(:,3).^2./(2w.^2))+aSubExpr(:,4)".</i><br/><br/>My question is, why do some of the constants I put in show up in the error, and others just show up as aSubExpr(:,#)? Sometimes the actual variable I use shows up too, and not the value. Could you please explain this or reference me to somewhere in the documentation I can learn more about it?
tag:forum.featool.com,2006:post-1164Simple Test Case - OpenFOAM Error2022-01-24T09:29:55Z2022-01-24T09:29:55Zpzach01
Operating system: Ubuntu 20.04
<br/>OpenFOAM version 9 (bashrc updated, verified working)
<br/><br/>Steps to reproduce:
<br/>File -> New Model -> Model Examples and Tutorials -> Fluid Dynamics -> Turbulent Flow Over a Backwards Facing Step
<br/>OpenFOAM Error: Could not read velocity solution. Check OpenFOAM log file for convergence.
<br/><br/><img src="http://forum.featool.com/file/n1164/OpenFOAM_Error.png" border="0"/><br/><br/>Any help would be greatly appreciated.
<br/>Thanks,
<br/>Peter
<br/><br/>
tag:forum.featool.com,2006:post-1421error saving2023-03-26T05:30:35Z2023-03-26T05:30:35ZKRYSTAL
Dear expert,
<br/>hello, I am new to FEATool for the first time. I tried to use it to make a case, but there was a problem in the save link “Error saving model:Value must be a handle”. I found that someone raised this problem three years ago. Is it solved now? Yet? It may also be that there is something wrong with my saving method, can you ask me?
<br/>grateful
tag:forum.featool.com,2006:post-1403Can't generate Grid on fresh install2023-02-17T18:50:28Z2023-02-17T18:50:28ZMarkFrasca
Running tutorial and unable to generate grid when running tutorial for "Heat Transfer Simulation of Shrink Fitting of an Assembly". Get an error message. See image.<img src="http://forum.featool.com/file/n1403/tempsnip.jpg" border="0"/><br/><br/>Have tried all kinds of settings and nothing works.
tag:forum.featool.com,2006:post-1393Editing Compound Geometry Objects2023-02-15T15:36:37Z2023-02-15T15:36:37Zlpday
I have a 2D model made of multiple compound geometries. A typical component would be a half circle removed from a rectangular object.
<br/><br/>Is there any way to edit these objects or find out what size they are? If I wanted to make that rectangle wider, I can find no way to do it.
<br/><br/>I have also had difficulty importing 2D flat geometries from Solidworks. Is there a good way to do this?
<br/><br/>Thanks
tag:forum.featool.com,2006:post-1379gobj_spline not working2023-01-11T12:20:42Z2023-01-11T12:20:42Zacepilot_10
I tried to create a spline object in FEATool, but the command gobj_spline isn't creating a valid geometry. When I try to create a spline using a tab-delimited text file in the gui, it works fine, though. Not sure why this is.
tag:forum.featool.com,2006:post-1358I can't download in Linux SSL Cert error2022-11-26T12:55:11Z2022-11-26T12:55:11Zshawnrubycherry
PBS56:1:3:cadmgr:/tools/featool/downloads>./FEATool_Multiphysics.install
<br/>Error: Download process failed - Problem with the SSL CA cert (path? access rights?)
<br/><br/>. Check your internet connectivity, proxy server, firewall, and virus scanner settings and rerun the installer.
<br/>Installation failed.
<br/><br/><br/>I don't think I have any internet issues - everything else works.
<br/><br/>Is it possible the SSL CA Certification expired on your side?
tag:forum.featool.com,2006:post-1315''matrix dimensions must agree'' in Navier-Stokes models2022-09-22T04:23:35Z2022-09-22T04:23:35Zjeccy
Hello!
<br/><br/>i have two Navier-Stokes Equations, coupled by the volume force, which is a function of the relative velocity (i.e. Fx = f(u1-u2) and Fy = g(v1-v2)). i receive the error ''matrix dimensions must agree''.
<br/>
<br/>However, while i change the force into a constant, or a function of x and y, there is no error anymore.
<br/><br/>pressure is constrained at points, suggested by a previous post here.
<br/><br/>I appreciate any clue or discussion.
<br/><br/>my settings: time dependent solver, MUMPS + Backward Euler
<br/><br/>Thanks again!
tag:forum.featool.com,2006:post-1306[New User] Problems in the first run2022-08-12T20:34:06Z2022-08-12T20:34:06Zspriyadarisi
System Information:
<br/>OS: Manjaro Linux
<br/>Linux Home on SSD
<br/>FEATool installed on HDD, MatlabRuntime also installed by FeaTool installer on HDD.
<br/><br/><br/>Error:
<br/>When I try to run the "run.________.sh" file with Matlab Runtime directory, it throws an error:
<br/><br/><i>FEATool_Multiphysics: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory</i><br/><br/>Can someone please help me out in this regard?
<br/><br/><br/><br/><br/>
tag:forum.featool.com,2006:post-1261Errors while using FEATool in MATLAB Online2022-06-15T07:48:41Z2022-06-15T07:48:41Zsamjones
The FEATool program often fails when running on MATLAB Online when calling functions provided by the App. Our developers have traced the issue to the FEATool App not returning a handle as part of the startup function. (See step 3 in these guidelines: <a href="https://www.mathworks.com/help/matlab/creating_guis/app-creation.html" target="_top" rel="nofollow" link="external">Package Apps From the MATLAB Toolstrip</a>) I can pass on the full developer commentary if requested.
Thank you.
tag:forum.featool.com,2006:post-1232Error: Modifying the search path is not supported by MATLAB Compiler2022-05-03T13:44:19Z2022-05-03T13:44:19Zebryant
I am running FEATool Multiphysics 1.15.3 Build 22.04.109 on Windows 10 Home. Windows is installed on my MacBook Pro using Bootcamp.
<br/><br/>I am experimenting with using Gmsh to do the grid generation. When I try to do that I get an error.
<br/><br/>Start FEATool
<br/>Select 3D
<br/>Click 'OK'
<br/>Create a cube (just use the default values)
<br/>Select Grid -> Grid Generation...
<br/>Choose 'Gmsh' as the Grid Generation Algorithm
<br/>Click 'Generate'
<br/><br/>Get the following messages...
<br/><br/>Downloading and installing the Gmsh mesh generator . . .
<br/>Please be patient as this can take some time.
<br/><br/>Grid generation error.
<br/><br/>Modifying the search path is not supported by MATLAB Compiler. Remove functions that modify the search path from your MATLAB code. To make files visible to your deployed application, add the parent folder to your MATLAB session.
<br/><br/>I get this same error message if I try a 2D model.
<br/><br/>Is there something I'm doing wrong?
tag:forum.featool.com,2006:post-1233Error: Index exceeds the number of array elements2022-05-03T14:32:54Z2022-05-03T14:32:54Zebryant
I am running FEATool Multiphysics 1.15.3 Build 22.04.109 on Windows 10 Home. Windows is installed on my MacBook Pro using Bootcamp.
<br/><br/>I am using Python to construct a model in Gmsh. I have Gmsh export that as a .msh file and I then read it into FEATool using Grid -> Import Grid -> Gmsh Format... When I try to view the boundaries for the model I get this error:
<br/><br/>Index exceeds the number of array elements. Index must not exceed 10.
<br/><br/>To reproduce:
<br/><br/>python index_test_case.py
<br/>Start FEATool
<br/>Select 3D
<br/>Click 'OK'
<br/>Select Grid -> Import Grid -> Gmsh Format...
<br/>Choose indext_test_case.msh
<br/>Select Grid -> Grid Generation...
<br/>Choose the 'Robust' grid generation algorithm
<br/>Click 'Generate'
<br/>Click 'OK'
<br/>Select Boundary -> Boundary Settings...
<br/>Click boundary #11
<br/>Error: Index exceeds the number of array elements. Index must not exceed 10.
<br/>Note, also, that the model no longer renders. Instead, only the boundary numbers are shown.
<br/><br/>If either of the two cylinders or the box is removed from the model then the grid generation works fine and the boundaries do not exceed the array elements.
<br/><br/>This looks very similar to a post from about a year ago: <a href="http://forum.featool.com/Index-exceeds-array-bounds-after-split-object-td969.html" target="_top" rel="nofollow" link="external">http://forum.featool.com/Index-exceeds-array-bounds-after-split-object-td969.html</a><br/><br/><a href="http://forum.featool.com/file/n1233/index_test_case.py" target="_top" rel="nofollow" link="external">index_test_case.py</a><br/><a href="http://forum.featool.com/file/n1233/index_test_case.msh" target="_top" rel="nofollow" link="external">index_test_case.msh</a>
tag:forum.featool.com,2006:post-1241Time-Dependent Natural Convection in a Square Cavity2022-05-06T07:32:41Z2022-05-06T07:32:41Zeschuldt
FAETool V1.15.2
<br/>Matlab 2018b
<br/><br/>I have followed the "Natural Convection in a Square Cavity" tutorial and I'm able to produce the same expected output as described.
<br/><br/>I now want to repeat this exercise, but for a Time-Dependent solution. Using the same scenario the only things I change are:
<br/><br/>Solver Type: Stationary --> Time-Dependent
<br/>Time Stepping Scheme --> Backward Euler (As Crank-Nicolson would result in "High-order time stepping schemes not supported with integral constraints")
<br/><br/>When I try to solve, it errors and says "Matrix Dimensions Must Agree"
<br/><br/>Any insight would be appreciated.
tag:forum.featool.com,2006:post-1228Unable to load gmsh .msh files2022-04-30T14:07:37Z2022-04-30T14:07:37Zebryant
I am running FEATool Multiphysics 1.15.3 Build 22.04.109 on Windows 10 Home. Windows is installed on my MacBook Pro using Bootcamp.
<br/><br/>When I first installed FEATool I was able to select Geometry -> Import Geometry -> gmsh Format... and import my 3D .msh file.
<br/><br/>Now, after several days of using FEATool, I am not able to import .msh files. The menu choice has changed to Geometry -> Import Geometry -> GEO/gmsh Format...
<br/><br/>When I try to import a .msh file (or even a .geo file) I get this error:
<br/><br/>Due to the complexity of the Gmsh file format, file import is not universally supported for all types of geo files. Geometry import failed. Index exceeds the number of array elements. Index must not exceed 0.
<br/><br/>While the imports were still working I tried using a different mesh model; the gmsh one. FEATool tried to download the gmsh plugin for that, but only got partway through the installation. It was some time after that that I was no longer able to import .msh files.
<br/><br/>I have tried uninstalling the FEATool program and reinstalling it, but that did not resolve the problem.
<br/><br/>Any ideas what I am doing wrong?
tag:forum.featool.com,2006:post-1210Plane Splitting in Geometry Module does not function2022-04-06T07:50:54Z2022-04-06T07:50:54Zbwalker000
Whenever I try to select a geometry to split I get a message that says "Select geometry object(s) to split."
<br/><br/>I've restarted and rebuilt the geometric model.
<br/><br/>I tried a workaround by creating a box and subtracting it. I got the same issue.
tag:forum.featool.com,2006:post-1201Grid generation error with complex CAD geomerty2022-03-31T03:48:55Z2022-03-31T07:52:31Zsebjang
<img src="http://forum.featool.com/file/n1201/20220331_193720.png" border="0"/><br/><img src="http://forum.featool.com/file/n1201/20220331_184103.png" border="0"/><br/><br/>After importing Geometry, STEP format;
<br/>got error msg.
<br/>What can I do more?
tag:forum.featool.com,2006:post-1158Cone structured grid2022-01-12T07:57:26Z2022-01-12T07:57:26Zmdiez
Hi,
<br/><br/>I am trying to develop a structured grid with the shape of a cone. I have been trying to start from a 2D triangle and then revolve using gridscale and gridrevolve but to no avail.
<br/><br/>Any suggestions on how to build a structured conical grid?
<br/><br/>Thanks
<br/><br/>Mikel
tag:forum.featool.com,2006:post-1157Matlab R2015a Installation fail2022-01-11T15:19:19Z2022-01-11T15:19:19Zrgonzalez
Hi,
<br/><br/>I downloaded the installer and tried to install the app but I got the following errors:
<br/><br/>com.mathworks.jmi.MatlabException: Failed to extract Matlab app file '~\FEATool Multiphysics.mlappinstall' to '~\MATLAB\Apps\FEAToolMultiphysics' with error: Error in extracting CTF file to '~\MATLAB\Apps\FEAToolMultiphysics - 3'. Details: 'fl:filesystem:SystemError'
<br/> at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
<br/> at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
<br/> at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
<br/> at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1710)
<br/> at com.mathworks.jmi.MatlabWorker.feval(MatlabWorker.java:197)
<br/> at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:20)
<br/> at com.mathworks.appmanagement.InstallAppMatlabWorker.doOnMatlabThread(InstallAppMatlabWorker.java:7)
<br/> at com.mathworks.appmanagement.AbstractAppManagementMatlabWorker.runOnMatlabThread(AbstractAppManagementMatlabWorker.java:21)
<br/> at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
<br/> at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
<br/><br/><br/>Is there anything else required for the installation that I'm missing?
<br/><br/>Regards,
<br/><br/>Rafa
tag:forum.featool.com,2006:post-1136FEATool \ OpenFOAM error2021-08-09T14:42:37Z2021-08-09T14:42:37ZStoneFrench
Hello,
<br/><br/>I am attempting to solve a model and have not seen this error before. I have the latest version of FEATool and OpenFOAM installed (1.14.2). I am attempting to run a 3D RANS model with a SST turbulence model and slip / no-slip conditions. Has anyone else seen this error or know how to resolve it?
<br/><img src="http://forum.featool.com/file/n1136/InkedScreenshot_2021-08-09_173705_LI.jpg" border="0" alt="Error Message"/><br/><br/><br/>With kind regards,
tag:forum.featool.com,2006:post-1083Symmetry/Slip condition results in OpenFOAM error2021-06-11T15:59:45Z2021-06-11T15:59:45ZStoneFrench
Hello,
<br/><br/>I am trying to run the following model shown below and whenever I apply symmetry conditions to the top, left, and right boundaries I receive the following errors.
<br/><br/>Could not read velocity solution. Check OpenFOAM log file for convergence.
<br/>
<br/>Line 0 in featool
<br/>Line 0 in featool
<br/>Line 0 in featool
<br/>Line 0 in featool
<br/>Line 0 in featool
<br/><br/>I have tried removing this boundary condition from some surfaces or adding it to other but it appears that having any symmetry condition within the model causes this error. Do you have any advice on how to fix this?
<br/><br/><img src="http://forum.featool.com/file/n1083/Screenshot_2021-06-11_185449.png" border="0"/><br/><br/>With kind regards,
<br/><br/>-Stone French
tag:forum.featool.com,2006:post-1074FSI Solver Unsupported2021-05-22T04:57:50Z2021-05-22T04:57:50Zrajpkn1
Hello,
<br/><br/>I am running FEATool Multiphysics version 1.14.0, MATLAB_R2019a on a Mac.
<br/><br/>In the solve mode, when I run the FSI solver, it says "Incompatible MEX files detected (for additional linear solvers). Full functionality should still be available with the builtin solvers".
<br/><br/>When running featool ttests, it passed all tests except the FSI one. It gave the following message:
<br/>40 - 06_Multiphysics/07_fluid_structure1 ................ ERROR in 48.4 seconds
<br/><br/> ERROR > Could not find unique uicontrol with identifier tstep
<br/><br/>How do I solve this issue? Or how can I use the builtin solvers for full functionality - like the warning message claims?
<br/><br/>Thanks.<img src="http://forum.featool.com/file/n1074/Screenshot_2021-05-22_at_5.png" border="0" alt="Warning message"/>
tag:forum.featool.com,2006:post-1017OpenFOAM ESI/OpenCFD Windows distribution "Not Found"2021-03-17T10:56:38Z2021-03-17T14:07:10ZSubmitted Questions
> I am running into an
<br/>> issue with the connection of OpenFOAM and FEATool. I followed the
<br/>> installation instructions you provided regarding OpenFOAM and downloaded
<br/>> the binaries via the OPENCFD ESI. When I open FEATool I am finding that in
<br/>> the systems info window it says that OpenFOAM is "Not Found". Your
<br/>> website does not provide information on how to resolve this issue. I have
<br/>> tried copying and pasting the proper directory but this doesn't appear to
<br/>> change anything. I also downloaded the Microsoft MPI as well but there is
<br/>> no instructions regarding how to use this to get the two softwares to work
<br/>> in parallel. Can you please provide information on how to get OpenFOAM to
<br/>> work with FEATool?
tag:forum.featool.com,2006:post-974Invalid or deleted object2021-03-04T10:35:59Z2021-03-04T10:35:59Zrandress
This report must begin with an apology. Not only is it non-repeatable (cannot be reproduced directly), since it was also non-persistent (do or re-do what I intended and it disappeared) and easily worked around or ignored, I do not have many helpful artifacts nor do I recall just what caused it.
<br/><br/>The following screen grab shows B1 selected. I do not recall whether the error occurred on selection or when I chose an action (such as Edit Geometry Object).
<br/><br/><img src="http://forum.featool.com/file/n974/Invalid_or_deleted_objcet.png" border="0"/><br/><br/>I think I saved the model after it happened a couple of times:
<br/><br/><a href="http://forum.featool.com/file/n974/120mTank100mSphereElectrodes-invalidObj.fea" target="_top" rel="nofollow" link="external">120mTank100mSphereElectrodes-invalidObj.fea</a><br/><br/><a href="http://forum.featool.com/file/n974/120mTank100mSphereElectrodes-invalidObj2.fea" target="_top" rel="nofollow" link="external">120mTank100mSphereElectrodes-invalidObj2.fea</a><br/><br/>These files were saved on Dec 7, 2020, so I would have probably been using the version of FEATool most current at the time.
<br/><br/>If it happens again I will try to be more observant.
<br/><br/>Thanks for taking a look.
<br/><br/>Kind regards,
<br/>Randal
<br/><br/>
tag:forum.featool.com,2006:post-969Index exceeds array bounds after split object2021-03-02T21:45:24Z2021-03-02T21:45:24Zrandress
I occasionally I have encountered the following error or one similar to it:
<br/><br/><img src="http://forum.featool.com/file/n969/ErrorIndexExceedsBounds3script.png" border="0"/><br/><br/>I was finally able to get a reproducer (at least is has repeated a couple of times for me). I was able to capture it in a GUI script:
<br/><a href="http://forum.featool.com/file/n969/IndexExceedsBounds3.fes" target="_top" rel="nofollow" link="external">IndexExceedsBounds3.fes</a><br/><br/>When run, it creates a model (two spheres in a block), sets up grid, equation, boundaries, and solves. It then splits the block and repeats grid and equation, but when boundaries is selected it gets the error:
<br/><br/><img src="http://forum.featool.com/file/n969/IndexExceedsBounds3script.png" border="0"/><br/><br/><br/>Then going back (manually) to the Equation mode and selecting subdomain 4 gets a similar error:
<br/><br/><img src="http://forum.featool.com/file/n969/IndexExceedsBounds3backToEquation.png" border="0"/><br/><br/>Then if the fea struct is exported to MATLAB there seems to be an inconsistency between the number of subdomains (4) and the number of array positions for the coefficient data (3):
<br/><pre>
>> fea.phys.dc.eqn.coef
ans =
4×4 cell array
{'dts_dc'} {'<html><i>d</i><…'} {'Time scaling co…'} {1×3 cell}
{'s_dc' } {'<html>&sigma;</…'} {'Electric conduc…'} {1×3 cell}
{'q_dc' } {'<html>Q</html>' } {'Current source' } {1×3 cell}
{'V0_dc' } {'<html><font sty…'} {'Initial conditi…'} {1×3 cell}
>>
</pre><br/>This does not always happen. I have been able to create this model successfully at times. Perhaps there is some detail that is different so that it IS repeatable, except I do something else sometimes that precludes the error from appearing.
<br/><br/>Thanks for taking a look. If it does not repeat for you, perhaps you can give me some instructions as to what else to capture or examine.
<br/><br/>Kind regards,
<br/>Randal
tag:forum.featool.com,2006:post-970DC equation coefficients inconsistent or stale?2021-03-03T13:35:32Z2021-03-03T13:35:32Zrandress
I encountered a curious fea.phys.dc.eqn.coef state which I do not recall as causing an error or preventing the generation of a solution, but which may be of interest, especially in light of an earlier post: <a href="http://forum.featool.com/Index-exceeds-array-bounds-after-split-object-tp969.html" target="_top" rel="nofollow" link="external">http://forum.featool.com/Index-exceeds-array-bounds-after-split-object-tp969.html</a><br/><br/>I have not been able to reproduce this and the file is very large (20Mb). I have placed it at:
<br/><pre>
http://randress.com/featool/stale_conductivity.fea
</pre>... for download if needed.
<br/><br/>I exported the fea struct to the MATLAB workspace and found this:
<br/><pre>
>> print_geom_objects(fea.geom)
*** 4 geom objects ***
--> Gen 0 (Active Objects)
1: 'B1', 'block'
min max
x: -60.000000 60.000000
y: -5.000000 5.000000
z: -5.000000 5.000000
2: 'S2', 'sphere'
center: 50.000000 0.000000 0.000000
radius: 0.008680
axis: 1 (1/2/3 ==> x/y/z axis direction)
3: 'S1', 'sphere'
center: -50.000000 0.000000 0.000000
radius: 0.008680
axis: 1 (1/2/3 ==> x/y/z axis direction)
4: 'E1', 'ellipsoid'
center: -49.000000 0.000000 0.000000
radii: 0.125000 0.175000 0.875000
axis: 0.000000 0.000000 1.000000
*** end print_geom_objects ***
>> fea.phys.dc.eqn.coef
ans
4×4 cell array
{'dts_dc'} {'<html><i>d</i><…'} {'Time scaling co…'} {1×6 cell}
{'s_dc' } {'<html>&sigma;</…'} {'Electric conduc…'} {1×6 cell}
{'q_dc' } {'<html>Q</html>' } {'Current source' } {1×6 cell}
{'V0_dc' } {'<html><font sty…'} {'Initial conditi…'} {1×6 cell}
>> fea.phys.dc.eqn.coef{2,:}
ans =
's_dc'
ans =
'<html>&sigma;</html>'
ans =
'Electric conductivity'
ans =
1×6 cell array
{'.16'} {'6e7'} {'6e7'} {'.355'} {'6e7'} {'.355'}
</pre><br/>I have no doubt that earlier this model had 6 subdomains from which the extra sets of elements must have come. I realize that this does not necessarily indicate a bug; stale data that is not referenced would not be a problem but it just seems suspicious.
<br/><br/>Please let me know if there is anything additional that I should add.
<br/><br/>Kind regards,
<br/>Randal
<br/>
tag:forum.featool.com,2006:post-945Grid generation fails: matlab interp12021-02-08T14:03:23Z2021-02-08T14:03:23Zbborer
I am creating Navier-Stokes simulation of flow around particle aggregates imitating marine snow. I need the simulations to be programmatically produced to look at stochastic effects. When creating the grid, I get the error:
<br/><br/>"Error using matlab.internal.math.interp1
<br/>Sample points must be unique and sorted in ascending order.
<br/><br/>Error in featool"
<br/><br/>Interestingly, the code sometimes works but other times not - I assume it has something to do with the stochastic production of sub-particles.
<br/><br/>Below is the code that I use to generate the geometry, and how I wish to create the mesh. I am not sure if the error can be solved by "sorting" some aspect of the fea.geom.object properties or if the error is located in the gridgen function. Any help would be appreciated.
<br/><br/>Best
<br/>Ben
<br/><br/><br/><br/><br/>clear all
<br/>close all
<br/>clc
<br/><br/>% Geometry and grid parameters.
<br/>h = 0.02; % Height of rectangular domain, m.
<br/>l = 0.02; % Length of rectangular domain, m.
<br/>xc = h/2; % x-coordinate of particle center.
<br/>yc = l/2; % y-coordinate of particle center.
<br/>diam = 0.003; % Particle, m.
<br/><br/>% Grid generation.
<br/>fea.sdim = { 'x' 'y' };
<br/><br/>% Rectangular background object
<br/>gobj1 = gobj_rectangle( 0, h, 0, l, 'R1' );
<br/>fea = geom_add_gobj( fea, gobj1 );
<br/><br/>% Particles
<br/>npart=10; % Number of sub particles
<br/><br/>for kk=1:npart
<br/> particleName=[ 'CE' num2str(kk)];
<br/> orient=rand*2*pi;
<br/> dist=rand*diam/2;
<br/>
<br/> partX=cos(orient)*dist+xc;
<br/> partY=sin(orient)*dist+yc;
<br/> particleRadius=rand*200E-6+50E-6;
<br/>
<br/> gobj = gobj_circle( [partX partY], particleRadius,particleName);
<br/> fea = geom_add_gobj( fea, gobj );
<br/>end
<br/><br/>% Subtract particles from background geometry
<br/>str = strjoin(fea.geom.tags,' - ');
<br/>[fea.geom, stat] = geom_apply_formula( fea.geom, str,1E-12);
<br/><br/>% Grid generation
<br/>fea.grid = gridgen( fea, 'gridgen', 'gridgen2d', 'hmax', 10e-5, 'nsm', 25, 'q', 0.65 );
<br/><br/><br/>
tag:forum.featool.com,2006:post-956Matlab version to run FEniCS.2021-02-23T06:45:54Z2021-02-23T06:45:54ZRafael Ferro
Esteemed,
<br/><br/>I installed FEniCS using anaconda. And the matlab I'm using is the 2020 version (I've already tested it in the 2017 version too). However, in neither version does the FEniCS run.
<br/><br/>Finally, when installing FEATool the following message appears: "Warning: Incompatible MEX files detected (for additional linear solvers) .Full functionality should still be available with the built-in solvers."
<br/><br/>And looking at this link: <a href="http://forum.featool.com/Error-with-Matlab-mex-files-for-linear-solvers-td891.html#a892" target="_top" rel="nofollow" link="external">http://forum.featool.com/Error-with-Matlab-mex-files-for-linear-solvers-td891.html#a892</a>, I saw that only the versions mentioned that would be the ones that have compatibility, Could this be the problem with installing FEniCS?
<br/><br/>note: I use MacOS.
tag:forum.featool.com,2006:post-936Registering2021-01-28T10:23:51Z2021-01-28T10:23:51ZG
I have been using featool for a bit but realised I was on the trial version (1.13 and build number 20.10.299), and when I tried to enter the registration code it comes up with error code IER = 210.
<br/><br/>How can I get past this error code to register the correct licence?
<br/>
tag:forum.featool.com,2006:post-935GMSH Compatability Issues with Recent Installation2020-12-18T23:04:41Z2020-12-18T23:04:41Zrbisbey
I just started using FEATool and installed it into MATLAB 2020b for Mac OS 10.15.7. I was unable to use the GUI gmsh grid generation nor the gmsh grid import initially. I seem to have resolved this issue after much troubleshooting so I wanted to post what how I was able to restore the functionality of these features.
<br/><br/>I had gmsh previously installed on my computer but FEATools was not using that installation. Instead, the installation created a hidden .featools directory in my MATLAB directory. (Hidden files can be revealed in Mac OS with a CMND + SHIFT + . keystroke.) Inside this directory, when gmsh is attempted to be used a gmsh_mac executable file is created. Launching this executable from Finder brought up a separate gmsh application from the one I had installed prior to FEATools. Notably this was the latest version of gmsh 4.7 which is may not be compatible with FEATools according to documentation.
<br/><br/>While this new gmsh application was open I changed the settings via Help -> Current Options and Workspace and within the variable list setting Mesh.SaveAll to 1 and Mesh.MshFileVersion = 2.2. (I also saved the options as default from the file menu.) This enabled me to run the built in gmsh grid generation and the latter made me realize that when exporting gmsh meshes that not only doesVersion 2 ASCII need to be selected but also selection "Save All Elements" but NOT "Save parametric coordinates" seems to be required for importation.
<br/><br/>I hope this helps anyone else that might be running into the same issue.
<br/><br/>-R
tag:forum.featool.com,2006:post-932Cannot produce a 3D mesh within the model domain2020-12-16T02:35:15Z2020-12-16T02:35:15ZJohn Wai
<img src="http://forum.featool.com/file/n932/domain.jpg" border="0"/><img src="http://forum.featool.com/file/n932/surface_conc.jpg" border="0"/><br/><br/>Hello,
<br/><br/>I would like to model the 3D flows around obstacles (see attached fig.) within a box. But I cannot produce a proper 3D mesh (only 2D mesh can be produced on the surface of the box) within the box, though I press the "3D" buttom. And I can only obtain the surface results only.
<br/><br/>Please help.
<br/><br/>John
tag:forum.featool.com,2006:post-915geom_decompose: wrong face numbering2020-11-13T01:40:16Z2020-11-13T01:40:16Zrandress
I need to model two small wires segments (1 cm) in a large tank on either side of a disk that is about the size of a person:
<br/><br/><img src="http://forum.featool.com/file/n915/block20wire10.png" border="0"/><br/><br/>The grid generation gets an error:
<br/><pre>
geom_decompose: wrong face numbering.
</pre><a href="http://forum.featool.com/file/n915/DiskNtankBetweenwires.fea" target="_top" rel="nofollow" link="external">DiskNtankBetweenwires.fea</a><br/><br/>By shrinking the 'x' dimension (tank +/- 7.5m, wires at +/- 6m):
<br/><br/><img src="http://forum.featool.com/file/n915/block7p5wire6geom.png" border="0"/><br/><br/>....the grid will generate:
<br/><br/><img src="http://forum.featool.com/file/n915/block7p5wire6.png" border="0"/><br/><br/><a href="http://forum.featool.com/file/n915/DiskNtankBetweenwires-gridGenWorks.fea" target="_top" rel="nofollow" link="external">DiskNtankBetweenwires-gridGenWorks.fea</a><br/><br/>But if the block (B1) x_min value is set to -7.51 (from -7.5), it fails.
<br/><br/>I have tried smaller grid sizes. I tried specifying grid size for each subdomain. What about reorienting the objects?
<br/><br/>The wire dimensions are very small compared to 10m. 0.5mm radius. So that's a ratio of 10/.0005 = 2e4... Does this ratio (largest dimension to smallest dimension) have a practical limit? Could some FEATool tolerance be changed by the user that might allow a greater difference (at some processing cost, no doubt).
<br/><br/>Unlike some of my models which turn out to be exploratory/learning tools, this one is tied to a specific geometry and experiment hat I want to replicate.
<br/><br/>Any hints as to how to go about finding the problem and/or how to solve it would greatly appreciated.
<br/><br/>Kind regards,
<br/>Randal
<br/>