create own case for laplacianFoam
I tried to create a new case for laplacianFoam to solve some basic assign of conduction.I did following
cp -r --parents solvers/basic/laplacianFoam $WM_PROJECT_USER_DIR/applications
mv laplacianFoam mylaplacianFoam
mv laplacianFoam.C mypallacianFoam.C
sed -i s/laplacianFoam/mylaplacianFoam/g Make/files
sed -i s/FOAM_APPBIN/FOAM_USER_APPBIN/g Make/files
After performing above task I got following message in terminal
make: *** No rule to make target `mylaplacianFoam.dep', needed by `Make/linuxGccDPOpt/dependencies'. Stop.
No bin folder is generated in appliacation folder
I am not getting what exactly is going on
You've got a typo in the sed command:
That's why I usually do code changes by hand, instead of using sed. And copy-paste too ;)
The sed command is more useful for when doing massive or scripted changes. Other than that, you risk doing unwanted changes. And be extra cautious with the fact the C/C++ is case sensitive, and most Linux file systems are as well!
Sorry for my negligence for typo error. Its working fine.
Thankx for all ur help & concern to my queries.Now I tried to run mylaplacianFoam
path : /OpenFOAM/rahul-1.6/applications/solvers/basic/mylaplacianFoam/ ls
> conduction createFields.H Make mylaplacianFoam.C mylaplacianFoam.dep write.H
I created blockmeshDict attached herewith. I'm solving simple conduction problem for square cavity with bottom wall at temp. 373k & all other wall insulated. when i hit mylaplacianFoam
following msg appears
Build : 1.6-f802ff2d6c5a
Exec : mylaplacianFoam
Date : Apr 07 2010
Time : 12:00:52
Host : rahul-desktop
PID : 23811
Case : /home/rahul/OpenFOAM/rahul-1.6/applications/solvers/basic/mylaplacianFoam/conduction
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create mesh for time = 0
Reading field T
keyword constTemp is undefined in dictionary "/home/rahul/OpenFOAM/rahul-1.6/applications/solvers/basic/mylaplacianFoam/conduction/0/T::boundaryField"
file: /home/rahul/OpenFOAM/rahul-1.6/applications/solvers/basic/mylaplacianFoam/conduction/0/T::boundaryField from line 25 to line 37.
From function dictionary::subDict(const word& keyword) const
in file db/dictionary/dictionary.C at line 449.
What xctly ths is?
I solved my query. I edit the patches in boundryField.
Sadly, my current experience with OpenFOAM is bound to getting OpenFOAM to work, whether in Linux or Windows, as well as Paraview and some other tools that OpenFOAM needs. Modifying solvers to add new features is something that isn't in my skill set :( at least for now.
Nonetheless, I'll try to help you. There are two lines that your solver gave that are indicative of a bad definition of a boundary condition on the temperature file T:
Additionally, the file that you attached doesn't have the complete case, thus rendering it unlikely to be enough for testing... at least by me :(
edit: eheheh, I took to long to reply...
I am thankful to u for all ur efforts tht u put in solving my queries.
Ur tips worked really well throughout the process.
|All times are GMT -4. The time now is 04:22.|