CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Add a new boudary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2008, 21:48
Default hi, when i add a new boudary
  #1
Senior Member
 
weihong yao
Join Date: Mar 2009
Posts: 117
Rep Power: 17
ivanyao is on a distinguished road
hi,
when i add a new boudary condition.everything goes ok,but when i type "wmake libso" ,it show "/home/ivan/OpenFOAM/OpenFOAM-1.4/wmake/wmake: cannot make.Make directory does not exist",i don't know why.the follow is my step.
1.decompressing the file which i download on the website.put it in ~/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/
fields/fvPatchFields/derivedFvPatchFields/ and /home/OpenFOAM/OpenFOAM-1.3/src/
finiteVolume/lnInclude/
2.and then modify the Make/files parabolicVelocityFvPatchVectorField.C
LIB = $(FOAM_ivan_LIBBIN)/libmyBCs and modify the Make/options files ~/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/
fields/fvPatchFields/derivedFvPatchFields/parabolicVelocity and /home/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/lnInclude/ parabolicVelocity
3.type "wmake libso" and it show up the error message.
my c++ is rusty.could anyone tell me why.
thanks
ivanyao is offline   Reply With Quote

Old   July 16, 2008, 23:31
Default Hi ! Did you type "wmake li
  #2
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi !

Did you type "wmake libso" in the following folder :

" ~/OpenFOAM/OpenFOAM-1.3/src/finiteVolume/ " ?

Mathieu
mathieu is offline   Reply With Quote

Old   July 17, 2008, 21:05
Default HI, I type it in the terminal
  #3
Senior Member
 
weihong yao
Join Date: Mar 2009
Posts: 117
Rep Power: 17
ivanyao is on a distinguished road
HI,
I type it in the terminal windows.am i wrong?
Ivan
ivanyao is offline   Reply With Quote

Old   July 18, 2008, 10:22
Default Hi Ivan, Of course in the t
  #4
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi Ivan,

Of course in the terminal. Just to be clear :

1. open a terminal
2. type :
cd ~/OpenFOAM/OpenFOAM-1.3/src/finiteVolume
3. then type : wmake libso

If this does not work, tell me where you downloaded your files for the new BC.

Also tell me if you work in OF 1.3 or 1.4 (because your error message says 1.4 and you talk about 1.3 in the rest of your message; you should maybe check your .bashrc...)

Good luck !

Mathieu
mathieu is offline   Reply With Quote

Old   September 2, 2009, 07:23
Default problem: wmake libso
  #5
New Member
 
Madeleine L Combrinck
Join Date: Sep 2009
Location: Pretoria, South Africa
Posts: 1
Rep Power: 0
Madeleine L Combrinck is on a distinguished road
I am attempting to implement the parabolicVelocity boundary condition using OF-1.5.

When compiling the dynamic library (wmake libso), I get the error:

make: *** No rule to make target `parabolicVelocityFvPatchVectorField.dep', needed by `Make/linuxGccDPOpt/dependencies'. Stop.

I have tried the "wmakeFilesandOptions" command, but got the same error.

As an alternative I attempted to implement the utility setParabolicInlet, but got a similar error:

make: *** No rule to make target `setParabolicInlet.dep', needed by `Make/linuxGccDPOpt/dependencies'.

How do I solve this problem?
Madeleine L Combrinck is offline   Reply With Quote

Old   January 30, 2010, 15:45
Default
  #6
Member
 
Join Date: Dec 2009
Posts: 46
Rep Power: 16
openfoam1 is on a distinguished road
Quote:
Originally Posted by Madeleine L Combrinck View Post
I am attempting to implement the parabolicVelocity boundary condition using OF-1.5.

When compiling the dynamic library (wmake libso), I get the error:

make: *** No rule to make target `parabolicVelocityFvPatchVectorField.dep', needed by `Make/linuxGccDPOpt/dependencies'. Stop.

I have tried the "wmakeFilesandOptions" command, but got the same error.

As an alternative I attempted to implement the utility setParabolicInlet, but got a similar error:

make: *** No rule to make target `setParabolicInlet.dep', needed by `Make/linuxGccDPOpt/dependencies'.

How do I solve this problem?
i'm also have the same annoying problem of that message

make: *** No rule to make target `lisbo'. Stop.

when i trying to compile WallHeatFlux boundary condition

it is in the attachment

can any one help

best regards
Attached Files
File Type: gz WallHeatFlux-20080819.tar.gz (2.3 KB, 10 views)
openfoam1 is offline   Reply With Quote

Old   March 12, 2010, 10:54
Default Re: problem: wmake libso
  #7
New Member
 
Dominic Piro
Join Date: Dec 2009
Location: South Kingstown, RI
Posts: 11
Rep Power: 16
djpiro is on a distinguished road
Quote:
Originally Posted by Madeleine L Combrinck View Post
I am attempting to implement the parabolicVelocity boundary condition using OF-1.5.

When compiling the dynamic library (wmake libso), I get the error:

make: *** No rule to make target `parabolicVelocityFvPatchVectorField.dep', needed by `Make/linuxGccDPOpt/dependencies'. Stop.

I have tried the "wmakeFilesandOptions" command, but got the same error.

As an alternative I attempted to implement the utility setParabolicInlet, but got a similar error:

make: *** No rule to make target `setParabolicInlet.dep', needed by `Make/linuxGccDPOpt/dependencies'.

How do I solve this problem?

I have gotten that problem before when I copied over some source code to modify. I had copied the Make directory to make sure I got all of the libraries I needed. What I had forgotten to do was make sure all of the folders lined up in the "files" file. (I had added a "my" in front of the folder.) When I went through and made sure all of the files and folders matched what was really there, the error went away.

I hope that helps.
djpiro is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
no-slip boudary condition in udf zhao FLUENT 1 June 26, 2019 22:46
symmetry boudary condition MAB CFX 1 August 13, 2008 21:25
outlet boudary condition for a flow in the pipe Atit CFX 2 November 9, 2004 17:43
outflow boudary condition damien FLUENT 4 July 23, 2003 04:55
outflow boudary condition in SIMPLE algorithm dallybird Main CFD Forum 0 March 6, 2003 11:55


All times are GMT -4. The time now is 11:56.