|
[Sponsors] |
September 14, 2012, 10:25 |
How to start swak4Foam
|
#1 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi everyone,
I successfully installed swak4Foam. Now i am working on OF2.1.1 version. Initially i run wobbler case in the swak4Foam library by using solidDisplacementFoam (i didn't made any changes for the solver), I got some error message. Error:- malli_reddy@ubuntu:~/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Examples/groovyBC/wobbler$ solidDisplacementFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.1-221db2718bbb Exec : solidDisplacementFoam Date : Sep 14 2012 Time : 15:41:15 Host : "ubuntu" PID : 30407 Case : /home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Examples/groovyBC/wobbler nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading mechanical properties --> FOAM FATAL ERROR: Attempt to return primitive entry ITstream : /home/malli_reddy/OpenFOAM/malli_reddy-2.1.1/swak4Foam/Examples/groovyBC/wobbler/constant/mechanicalProperties::rho, line 17, IOstream: Version 2.0, format ASCII, line 0, OPENED, GOOD primitiveEntry 'rho' comprises on line 17 the word 'rho' on line 17 the punctuation token '[' on line 17 the label 1 on line 17 the label -3 on line 17 the label 0 on line 17 the label 0 on line 17 the label 0 on line 17 the label 0 on line 17 the label 0 on line 17 the punctuation token ']' ... as a sub-dictionary From function const dictionary& primitiveEntry::dict() in file db/dictionary/primitiveEntry/primitiveEntry.C at line 170. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Foam:rimitiveEntry::dict() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #3 Foam::dictionary::subDict(Foam::word const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #4 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/solidDisplacementFoam" #5 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6" #6 in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/solidDisplacementFoam" Aborted At first i run with blockMesh and then i called solidDisplacementFoam. Please suggest me how to rectify this problem. Thanks Regards Mallikarjuna |
|
September 15, 2012, 10:02 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Mallikarjuna,
The file content format has changed since the example was created for swak4Foam. You can easily fix the problem by running the following command: Code:
cp $FOAM_TUTORIALS/stressAnalysis/solidDisplacementFoam/plateHole/constant/mechanicalProperties constant/ Best regards, Bruno
__________________
|
|
September 17, 2012, 01:44 |
|
#3 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi Bruno,
Thanks for quick reply. Now it is working. I have one more doubt. actually in my case i need write zero flux boundary condition. when i applied this boundary condition, i got an expression for gradient. In that equation i need to access gradient of another field. Could you please suggest me any case which is close to my problem. Thanks Regards Mallikarjuna |
|
September 17, 2012, 04:50 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Mallikarjuna,
Sorry, I unfortunately don't know. I hope someone else can answer you. Perhaps you might have to create a new thread to ask that question and be more detailed of what you want to know! Best regards, Bruno
__________________
|
|
September 17, 2012, 20:12 |
|
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
September 18, 2012, 06:07 |
|
#6 |
Member
M Mallikarjuna Reddy
Join Date: Jul 2012
Posts: 91
Rep Power: 14 |
Hi Gshaider,
Thanks for the quick reply. Now it is working. Thank a lot, you are the man. Thanks Regards Mallikarjuna |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
Sample not working correctly | sihaqqi | OpenFOAM Running, Solving & CFD | 1 | July 12, 2014 02:36 |
[swak4Foam] errors when trying to use swakCoded-function | mayank.dce2k7 | OpenFOAM Community Contributions | 4 | April 15, 2014 11:07 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
Lets start the public domain CFD-Project! | Heinz Wilkening | Main CFD Forum | 3 | March 11, 1999 23:55 |