CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: ajnewman
Forum: OpenFOAM Pre-Processing June 7, 2014, 11:37
Replies: 24
Views: 12,480
Posted By ajnewman
Assuming that the x_3 component is the one you...

Assuming that the x_3 component is the one you wish to specify do something like

operator == (vector(0,0,1)*10 + vector(0,0,10));

You may also want to look at
...
Forum: OpenFOAM Pre-Processing June 7, 2014, 01:05
Replies: 24
Views: 12,480
Posted By ajnewman
I re-read your post and if I understand correctly...

I re-read your post and if I understand correctly this is a velocity boundary condition so operator needs to be set equal to a 3 component vectorField rather than a scalarField.
Forum: OpenFOAM Pre-Processing June 6, 2014, 22:01
Replies: 24
Views: 12,480
Posted By ajnewman
I think your problem is at var*10+10 You...

I think your problem is at var*10+10

You are trying to add one double to a field. I would try generating a scalarField of the same size as var where every element is 10 then adding it to var. If...
Forum: OpenFOAM Pre-Processing February 4, 2014, 16:59
Replies: 24
Views: 12,480
Posted By ajnewman
Also, to make the code run properly I believe...

Also, to make the code run properly I believe there needs to be a ; after #} i.e.
#};
Forum: OpenFOAM Pre-Processing February 4, 2014, 12:21
Replies: 24
Views: 12,480
Posted By ajnewman
When you use this approach, should the boundary...

When you use this approach, should the boundary be specified as leftWindow or leftWindowBC in the blockMeshDict file?

Thanks!
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 03:47.